Remove needless kv at dataSyncService (#22206)

Signed-off-by: aoiasd <zhicheng.yue@zilliz.com>
pull/22232/head
aoiasd 2023-02-16 16:36:39 +08:00 committed by GitHub
parent d9ca06eb4e
commit 9167773eff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -25,7 +25,6 @@ import (
"go.uber.org/zap"
"github.com/milvus-io/milvus-proto/go-api/commonpb"
"github.com/milvus-io/milvus/internal/kv"
"github.com/milvus-io/milvus/internal/log"
"github.com/milvus-io/milvus/internal/metrics"
"github.com/milvus-io/milvus/internal/mq/msgdispatcher"
@ -64,7 +63,6 @@ type dataSyncService struct {
chunkManager storage.ChunkManager
compactor *compactionExecutor // reference to compaction executor
kv kv.MetaKv
serverID int64
stopOnce sync.Once
flushListener chan *segmentFlushPack // chan to listen flush event