Skip to content

Commit 9f98220

Browse files
authored
Add wait for shards to be ready after update (#44)
1 parent 7e40e5f commit 9f98220

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

benchmarker/cmd/ann_benchmark.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1081,6 +1081,10 @@ var annBenchmarkCommand = &cobra.Command{
10811081
log.Fatalf("Error waiting for tombstones to be empty: %v", err)
10821082
}
10831083
}
1084+
if !cfg.SkipAsyncReady {
1085+
startTime := time.Now()
1086+
waitReady(&cfg, client, startTime, 30*time.Minute, 1000)
1087+
}
10841088

10851089
runQueries(&cfg, importTime, testData, neighbors, testFilters)
10861090

0 commit comments

Comments
 (0)