Commit 2586c2f
authored
enhance: use WalkWithPrefix api for oss, enable piplined file gc (milvus-io#31740)
issue: milvus-io#19095,milvus-io#29655,milvus-io#31718
- Change `ListWithPrefix` to `WalkWithPrefix` of OOS into a pipeline
mode.
- File garbage collection is performed in other goroutine.
- Segment Index Recycle clean index file too.
---------
Signed-off-by: chyezh <chyezh@outlook.com>1 parent f06509b commit 2586c2f
33 files changed
Lines changed: 1009 additions & 1805 deletions
File tree
- configs
- internal
- datacoord
- indexnode
- metastore/kv/binlog
- mocks
- querynodev2/delegator
- storage
- util/importutilv2/binlog
- pkg
- metrics
- util
- conc
- paramtable
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
105 | 106 | | |
106 | 107 | | |
107 | 108 | | |
| |||
443 | 444 | | |
444 | 445 | | |
445 | 446 | | |
446 | | - | |
| 447 | + | |
447 | 448 | | |
448 | 449 | | |
449 | 450 | | |
| |||
0 commit comments