Set gracefulTime to 0 (#10114)

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
pull/10344/head
bigsheeper 2021-10-21 10:55:12 +08:00 committed by GitHub
parent ef6de3e122
commit 132f57f5b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ queryCoord:
# Related configuration of queryNode, used to run hybrid search between vector and scalar data.
queryNode:
cacheSize: 32 # GB, default 32 GB, `cacheSize` is the memory used for caching data for faster query. The `cacheSize` must be less than system memory size.
gracefulTime: 1000 # ms, for search
gracefulTime: 0 # ms, for search
port: 21123
grpc:

View File

@ -532,7 +532,7 @@ func (q *queryCollection) doUnsolvedQueryMsg() {
zap.Any("guaranteeTime_l", guaranteeTs),
zap.Any("serviceTime_l", serviceTime),
)
if guaranteeTs <= serviceTime {
if guaranteeTs <= q.getServiceableTime() {
unSolvedMsg = append(unSolvedMsg, m)
continue
}