Skip to content

Commit 3902b6d

Browse files
craig[bot]andy-kimball
andcommitted
Merge #144444
144444: vecindex: convert vecstore for use with non-transactional fixups r=drewkimball a=andy-kimball Previously, the vecstore was not compatible with the new non-transactional split operation, because it did not implement the upgraded cspann.Store interface. This commit completes that implementation, including the new Try methods, as well as making some changes to the semantics of the methods on cspann.Txn. Epic: CRDB-42943 Release note: None Co-authored-by: Andrew Kimball <[email protected]>
2 parents 1c7a7d9 + 31fbb70 commit 3902b6d

File tree

22 files changed

+842
-1800
lines changed

22 files changed

+842
-1800
lines changed

pkg/cmd/vecbench/main.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,6 @@ func newVectorProvider(
439439
MinPartitionSize: minPartitionSize,
440440
MaxPartitionSize: maxPartitionSize,
441441
BaseBeamSize: *flagBeamSize,
442-
UseNewFixups: true,
443442
}
444443

445444
if *flagMemStore {

pkg/sql/vecindex/cspann/BUILD.bazel

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ go_library(
2424
"partition_metadata.go",
2525
"search_set.go",
2626
"searcher.go",
27-
"split_data.go",
2827
"store.go",
2928
"store_errors.go",
3029
],
@@ -55,7 +54,6 @@ go_test(
5554
"cspannpb_test.go",
5655
"fixup_processor_test.go",
5756
"fixup_split_test.go",
58-
"fixup_worker_test.go",
5957
"index_stats_test.go",
6058
"index_test.go",
6159
"kmeans_test.go",

pkg/sql/vecindex/cspann/commontest/BUILD.bazel

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ go_library(
1212
"//pkg/sql/vecindex/cspann",
1313
"//pkg/sql/vecindex/cspann/quantize",
1414
"//pkg/sql/vecindex/cspann/testutils",
15-
"//pkg/sql/vecindex/cspann/workspace",
16-
"//pkg/util/num32",
1715
"//pkg/util/vector",
1816
"@com_github_cockroachdb_errors//:errors",
1917
"@com_github_stretchr_testify//require",

0 commit comments

Comments
 (0)