You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
144063: roachtest: add compaction to backup fixtures r=msbutler a=kev-cao
This commit enables compaction in the generation of backup fixtures.
Epic: None
Release note: None
144111: sql: move BackupRestoreTestingKnobs to exec_util_backup.go r=mgartner a=mgartner
`BackupRestoreTestingKnobs` has been moved to a new file,
`exec_util_backup.go` and `CODEOWNERS` has been updated.
Epic: None
Release note: None
145274: vecindex: fix bugs found during testing of vector indexes r=drewkimball a=andy-kimball
#### cspann: do not overwrite root level when searching targets
In the case where the root partition is in a non-Ready state, we need
to search its target partitions. Previously, we were overwriting the
root partition's level, which should be the same as the target partition's
level. However, if there's a bug, it can be different, and overriding
the root level causes cascading problems downstream, including a panic
that can take down the server. This commit adds code to check the level
and assert that it's equal to the root partition level rather than
silently overwriting it.
#### vecindex: clone treeKey when creating fixups
Previously, the C-SPANN index assumed that it owned the memory for
the vector index prefix value (called the "tree key" in C-SPANN).
However, the backfiller assumed the opposite, and reuses the memory
between SearchForInsert calls. This commit resolves the conflict by
always cloning the tree key when it's enqueued as part of a fixup,
so that callers can reuse the memory.
Fixes: #145261
#### cspann: pass tree key to delete vector fixup
Previously, the delete vector fixup did not take a tree key parameter,
which meant it always searched the default tree for the vector to
delete. This commit fixes that by passing the tree key to the fixup.
Release justification: Vector indexing is a business priority. These changes are all in the vecindex package, for a feature that is protected by a default-off feature flag.
Co-authored-by: Kevin Cao <[email protected]>
Co-authored-by: Marcus Gartner <[email protected]>
Co-authored-by: Andrew Kimball <[email protected]>
0 commit comments