mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 01:28:27 +08:00
Fix delete failed in query node (#12302)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
This commit is contained in:
parent
b6d0150dc5
commit
dbcb153687
@ -20,6 +20,7 @@ import (
|
||||
"go.uber.org/zap"
|
||||
|
||||
"github.com/milvus-io/milvus/internal/log"
|
||||
"github.com/milvus-io/milvus/internal/util/typeutil"
|
||||
)
|
||||
|
||||
type tSafeWatcher struct {
|
||||
@ -85,7 +86,7 @@ func newTSafe(ctx context.Context, channel Channel) tSafer {
|
||||
watcherList: make([]*tSafeWatcher, 0),
|
||||
tSafeChan: make(chan tSafeMsg, channelSize),
|
||||
tSafeRecord: make(map[UniqueID]Timestamp),
|
||||
tSafe: math.MaxUint64,
|
||||
tSafe: typeutil.ZeroTimestamp,
|
||||
}
|
||||
return t
|
||||
}
|
||||
|
||||
@ -146,8 +146,7 @@ func (t *tSafeReplica) registerTSafeWatcher(vChannel Channel, watcher *tSafeWatc
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
safer.registerTSafeWatcher(watcher)
|
||||
return nil
|
||||
return safer.registerTSafeWatcher(watcher)
|
||||
}
|
||||
|
||||
func newTSafeReplica() TSafeReplicaInterface {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user