congqixia
a042a6e1e8
enhance: support pause GC at collection level ( #45943 )
...
Add collection-level granularity to the garbage collector pause/resume
mechanism. Previously, GC pause affected all collections globally. Now
operators can pause GC for specific collections while allowing other
collections to continue normal GC operations.
Changes:
- Add `pausedCollection` concurrent map to track per-collection pause
state
- Extend `Pause()` and `Resume()` methods with `collectionID` parameter
- Add `collectionGCPaused()` helper to check collection pause status
- Skip dropped segment recycling when collection GC is paused
- Update management API to accept optional `collection_id` query
parameter
- Add `GetInt64Value()` utility function for parsing int64 from KV pairs
- Maintain backward compatibility: collectionID <= 0 triggers global
pause
This provides DevOps with finer control over Milvus data lifecycle.
issue: #45941
---------
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2025-12-08 19:33:15 +08:00
..
2025-05-20 21:06:24 +08:00
2025-07-30 15:37:37 +08:00
2025-10-09 11:01:57 +08:00
2025-10-11 12:05:56 +08:00
2025-06-11 13:40:38 +08:00
2025-05-28 12:46:28 +08:00
2025-02-22 23:15:58 +08:00
2025-05-20 21:06:24 +08:00
2023-09-21 09:45:27 +08:00
2025-10-09 11:01:57 +08:00
2025-10-09 11:01:57 +08:00
2025-10-09 11:01:57 +08:00
2025-09-23 12:44:07 +08:00
2025-09-23 12:44:07 +08:00
2025-07-16 18:04:52 +08:00
2025-10-24 18:40:05 +08:00
2025-09-23 12:44:07 +08:00
2025-09-23 12:44:07 +08:00
2025-07-08 20:22:47 +08:00
2025-10-24 18:40:05 +08:00
2025-02-22 23:15:58 +08:00
2025-02-22 23:15:58 +08:00
2025-11-19 18:03:07 +08:00
2025-11-24 19:57:07 +08:00
2025-11-19 18:03:07 +08:00
2025-11-24 19:57:07 +08:00
2025-02-22 23:15:58 +08:00
2025-09-15 10:27:58 +08:00
2025-10-09 11:01:57 +08:00
2025-12-05 16:45:11 +08:00
2025-11-06 16:53:38 +08:00
2025-09-15 11:03:58 +08:00
2025-09-23 12:44:07 +08:00
2025-10-24 18:40:05 +08:00
2025-11-13 23:07:39 +08:00
2025-08-28 09:53:51 +08:00
2025-09-23 12:44:07 +08:00
2024-01-24 00:04:55 +08:00
2025-05-20 21:06:24 +08:00
2025-10-30 14:24:08 +08:00
2025-10-30 14:24:08 +08:00
2025-10-30 14:24:08 +08:00
2025-10-30 14:24:08 +08:00
2025-02-22 23:15:58 +08:00
2023-09-26 17:15:27 +08:00
2025-11-27 15:33:08 +08:00
2025-11-27 15:33:08 +08:00
2025-12-04 16:23:11 +08:00
2025-12-04 16:23:11 +08:00
2025-12-08 19:33:15 +08:00
2025-12-08 19:33:15 +08:00
2024-09-13 22:05:15 +08:00
2025-10-30 14:24:08 +08:00
2025-10-09 20:39:58 +08:00
2025-12-04 16:23:11 +08:00
2025-11-25 11:21:07 +08:00
2025-12-04 16:23:11 +08:00
2025-07-08 20:22:47 +08:00
2025-10-27 12:14:08 +08:00
2025-05-20 21:06:24 +08:00
2025-05-23 12:58:27 +08:00
2025-05-23 12:58:27 +08:00
2025-07-22 14:52:53 +08:00
2025-05-23 12:58:27 +08:00
2025-08-11 14:13:42 +08:00
2025-07-08 20:22:47 +08:00
2025-12-04 16:23:11 +08:00
2025-11-13 12:55:37 +08:00
2025-08-14 10:31:44 +08:00
2025-08-14 10:31:44 +08:00
2025-11-11 07:27:36 +08:00
2025-12-05 16:45:11 +08:00
2025-11-04 22:25:33 +08:00
2025-11-11 07:27:36 +08:00
2025-11-04 18:31:32 +08:00
2025-11-11 07:27:36 +08:00
2025-06-04 11:24:38 +08:00
2025-06-04 11:24:38 +08:00
2025-12-04 16:23:11 +08:00
2025-07-29 19:47:36 +08:00
2025-12-05 16:45:11 +08:00
2025-12-04 16:23:11 +08:00
2025-10-09 11:01:57 +08:00
2025-07-08 20:22:47 +08:00
2025-07-25 16:24:54 +08:00
2025-11-13 20:53:39 +08:00
2025-06-11 13:40:38 +08:00
2025-05-20 21:06:24 +08:00
2025-05-23 18:32:26 +08:00
2025-02-22 23:15:58 +08:00
2025-05-20 21:06:24 +08:00
2025-12-04 16:23:11 +08:00
2025-09-23 12:44:07 +08:00
2025-05-20 21:06:24 +08:00
2021-11-16 15:41:11 +08:00
2025-02-22 23:15:58 +08:00
2025-02-22 23:15:58 +08:00
2021-10-15 18:58:37 +08:00
2025-04-07 22:16:23 +08:00
2025-04-07 22:16:23 +08:00
2025-09-12 18:11:58 +08:00
2025-09-12 18:11:58 +08:00
2025-05-23 18:32:26 +08:00
2025-05-23 18:32:26 +08:00
2025-02-22 23:15:58 +08:00
2025-04-10 15:20:28 +08:00
2025-11-21 18:33:06 +08:00
2025-12-04 16:23:11 +08:00
2025-12-04 16:23:11 +08:00
2025-12-08 19:33:15 +08:00
2025-07-08 20:22:47 +08:00
2025-09-01 10:49:52 +08:00
2025-07-08 20:22:47 +08:00
2025-07-08 20:22:47 +08:00
2025-08-27 11:15:52 +08:00
2025-08-27 11:15:52 +08:00
2025-05-20 21:06:24 +08:00
2025-11-28 18:41:08 +08:00
2025-07-08 20:22:47 +08:00
2025-09-01 10:49:52 +08:00
2025-11-27 15:33:08 +08:00
2025-02-22 23:15:58 +08:00
2025-12-04 14:15:10 +08:00