Skip to content

Commit 31fbb70

Browse files
committed
vecindex: delete old fixup code
Now that both vecstore and memstore have been converted to use the new non-transactional fixups, there is no need to keep around the old fixup code. This commit deletes all that code in the fixup worker and stores. Epic: CRDB-42943 Release note: None
1 parent 6008274 commit 31fbb70

File tree

16 files changed

+23
-967
lines changed

16 files changed

+23
-967
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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +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",
1615
"//pkg/util/vector",
1716
"@com_github_cockroachdb_errors//:errors",
1817
"@com_github_stretchr_testify//require",

0 commit comments

Comments
 (0)