search: Guarantee search-after-write consistency (#109972)

This commit is contained in:
Peter Štibraný
2025-08-25 10:13:07 +02:00
committed by GitHub
parent 9a668ce06f
commit 4c996a8a7f
11 changed files with 863 additions and 133 deletions
+1 -1
View File
@@ -217,7 +217,7 @@ func runSearchBackendBenchmarkWriteThroughput(ctx context.Context, backend resou
size := int64(10000) // force the index to be on disk
index, err := backend.BuildIndex(ctx, nr, size, 0, nil, "benchmark", func(index resource.ResourceIndex) (int64, error) {
return 0, nil
})
}, nil)
if err != nil {
return nil, fmt.Errorf("failed to initialize backend: %w", err)
}