mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
Cherry pick from master pr: #38980 When MvccTimestamp is set, it could be used as guarantee timestamp directly instead of new ts allocated by scheduler reducing the waiting time when delegator has tsafe lag Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
parent
6f1febe881
commit
4b62dfd11f
@ -570,6 +570,7 @@ func (t *queryTask) queryShard(ctx context.Context, nodeID int64, qn types.Query
|
||||
retrieveReq.GetBase().TargetID = nodeID
|
||||
if needOverrideMvcc && mvccTs > 0 {
|
||||
retrieveReq.MvccTimestamp = mvccTs
|
||||
retrieveReq.GuaranteeTimestamp = mvccTs
|
||||
}
|
||||
|
||||
req := &querypb.QueryRequest{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user