congqixia
3c2e0375df
fix: make compactor inject done called no more than once ( #30603 )
...
See also #30571
When `compactionExecutor` stops one compaction task, the `stop` method
will case `injectDone` called.
However in `executeTask` when `compact` method returns error, it shall
also invoke `injectDone` as well. That the reason `Unlock of unlocked
RWMutex` panicking happened.
This PR add sync.Once to make sure that `injectDone` is called only
once. We did not remove any of the `injectDone` since removal any of
those invocation may cause logic problem.
---------
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2024-02-18 14:08:49 +08:00
..
2023-10-13 09:55:34 +08:00
2024-01-18 22:06:31 +08:00
2024-02-04 16:57:05 +08:00
2024-02-04 10:49:05 +08:00
2024-02-04 10:49:05 +08:00
2024-02-06 17:13:56 +08:00
2024-02-05 11:33:43 +08:00
2024-02-03 13:01:12 +08:00
2024-01-13 01:32:52 +08:00
2024-01-23 10:37:00 +08:00
2022-05-06 17:49:51 +08:00
2023-07-24 10:23:01 +08:00
2024-02-06 16:02:00 +08:00
2023-12-27 16:00:48 +08:00
2023-12-27 16:00:48 +08:00
2023-11-29 10:50:29 +08:00
2024-02-01 14:25:04 +08:00
2024-02-18 14:08:49 +08:00
2024-02-18 14:08:49 +08:00
2023-11-30 18:42:32 +08:00
2024-01-31 20:45:04 +08:00
2024-01-22 14:36:55 +08:00
2024-01-18 22:06:31 +08:00
2023-11-30 18:42:32 +08:00
2024-01-30 18:15:04 +08:00
2023-09-21 09:45:27 +08:00
2024-01-19 11:34:54 +08:00
2023-10-20 14:26:09 +08:00
2023-12-22 14:20:43 +08:00
2023-11-30 18:42:32 +08:00
2023-11-30 18:42:32 +08:00
2023-09-21 09:45:27 +08:00
2023-09-21 09:45:27 +08:00
2023-05-25 09:53:30 +08:00
2024-02-06 16:02:00 +08:00
2023-11-22 10:26:28 +08:00
2023-11-16 00:22:20 +08:00
2023-11-03 14:42:17 +08:00
2023-11-03 14:42:17 +08:00
2023-08-08 20:41:15 +08:00
2023-11-06 06:02:16 +08:00
2024-02-04 10:49:05 +08:00
2024-02-18 13:02:50 +08:00
2023-10-13 09:55:34 +08:00
2023-10-13 09:55:34 +08:00
2023-06-09 01:28:37 +08:00
2023-11-30 18:42:32 +08:00
2023-12-27 16:00:48 +08:00
2023-12-26 10:40:47 +08:00
2024-01-13 01:32:52 +08:00
2021-11-16 15:41:11 +08:00
2023-04-06 19:14:32 +08:00
2023-09-21 09:45:27 +08:00
2021-10-09 11:22:58 +08:00
2024-01-22 14:36:55 +08:00
2024-02-03 13:01:12 +08:00
2023-11-15 15:24:18 +08:00
2023-11-24 15:02:39 +08:00
2023-11-13 21:46:20 +08:00
2023-11-13 21:46:20 +08:00
2023-09-21 09:45:27 +08:00