mirror of https://github.com/milvus-io/milvus.git
enhance: compaction use ChannelManager interface (#29530)
Rewrite compaction_test.go See also: #29447 Signed-off-by: yangxuan <xuan.yang@zilliz.com>pull/29627/head
parent
0db6b26842
commit
f1b6ccf305
|
@ -111,7 +111,7 @@ type compactionPlanHandler struct {
|
|||
|
||||
meta CompactionMeta
|
||||
allocator allocator
|
||||
chManager *ChannelManagerImpl
|
||||
chManager ChannelManager
|
||||
scheduler Scheduler
|
||||
sessions SessionManager
|
||||
|
||||
|
@ -120,7 +120,7 @@ type compactionPlanHandler struct {
|
|||
stopWg sync.WaitGroup
|
||||
}
|
||||
|
||||
func newCompactionPlanHandler(sessions SessionManager, cm *ChannelManagerImpl, meta CompactionMeta, allocator allocator,
|
||||
func newCompactionPlanHandler(sessions SessionManager, cm ChannelManager, meta CompactionMeta, allocator allocator,
|
||||
) *compactionPlanHandler {
|
||||
return &compactionPlanHandler{
|
||||
plans: make(map[int64]*compactionTask),
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue