unified-storage: reuse index if RV is set even if it is outdated (#110184)

* unified-storage: reuse index if RV is set even if it is outdated and searchAfterWrite FF is enabled
This commit is contained in:
Will Assis
2025-08-27 11:10:54 -04:00
committed by GitHub
parent edd59d634e
commit 7921c7da23
8 changed files with 361 additions and 40 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)
}, nil, false, false)
if err != nil {
return nil, fmt.Errorf("failed to initialize backend: %w", err)
}