-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
storage: remove storage.mvcc.range_tombstones.enabled
cluster setting
#97869
Comments
In clusters with finalized cluster versions ≥23.1, range tombstones are always enabled and the cluster setting has no effect. Remove the variations of the clearrange test, and we'll effectively always test with MVCC range tombstones. Epic: none Informs cockroachdb#97869. Release note: none
108487: roachtest: remove rangeTs clearrange variants r=jbowens a=jbowens In clusters with finalized cluster versions ≥23.1, range tombstones are always enabled and the cluster setting has no effect. Remove the variations of the clearrange test, and we'll effectively always test with MVCC range tombstones. Epic: none Informs #97869. Release note: none Co-authored-by: Jackson Owens <[email protected]>
cockroach/pkg/ccl/backupccl/testdata/backup-restore/in-progress-import-rollback Lines 10 to 13 in eff0185
@cockroachdb/disaster-recovery This unit test appears to still use this cluster setting. Can we delete or adjust this unit test to remove testing of non-MVCC rollbacks now? |
Yes get rid of "case 1" in this test! |
@msbutler might have more context here, but one question: 23.2 maintains backwards compatibility with 22.2 so I think we wanted to keep the tests that simulated restoring a 22.2 backup/the 22.2 range tombstone behavior? |
to do that, we'd need a 22.2 fixture which simulates the behavior. I think it's fine to delete this subtest to unblock this pr though. |
Previously the import-cancellation roachtest was split into two variants: one with MVCC range tombstones enabled and one without. MVCC range tombstones are always enabled now, so the two variants were effectively identical. This commit consolidates the two tests into a single `import-cancellation` roachtest. Informs cockroachdb#97869. Epic: None Release note: None
107388: metrics: refactor histogram bucket generation and testing r=ericharmeling a=ericharmeling This commit refactors histogram bucketing for legibility and composibility. It also introduces a data-driven test for histogram bucket generation. This refactor should make it easier to add additional metric categories, distributions, and bucket types. Part of #97144. Release note: None 108415: roachtest: deflake npgsql test r=rafiss a=rafiss These upstream tests are flaky, so we ignore them. informs #108414 fixes #108044 fixes #108504 Release note: None 108535: roachtest: remove rangeTs variants of import-cancellation test r=stevendanna a=jbowens Previously the import-cancellation roachtest was split into two variants: one with MVCC range tombstones enabled and one without. MVCC range tombstones are always enabled now, so the two variants were effectively identical. This commit consolidates the two tests into a single `import-cancellation` roachtest. Informs #97869. Epic: None Release note: None Co-authored-by: Eric Harmeling <[email protected]> Co-authored-by: Rafi Shamim <[email protected]> Co-authored-by: Jackson Owens <[email protected]>
The storage.mvcc.range_tombstones.enabled cluster setting is ignored on 23.1+ cluster versions. On these cluster version, MVCC range tombstones are used unconditionally. Remove test uses of this cluster setting that redundantly set `storage.mvcc.range_tombstones.enabled` to true. A few remaining tests disable the MVCC range tombstones cluster setting. These tests will require some additional work to adapt. Informs cockroachdb#97869. Epic: none Release note: none
Remove uses of the `storage.mvcc.range_tombstones.enabled` cluster setting. This cluster setting is ignored in cluster version 23.1+. Epic: none Informs cockroachdb#97869. Release note: none
109823: ccl,roachtest: remove uses of storage.mvcc.range_tombstones.enabled r=bananabrick a=jbowens Remove uses of the `storage.mvcc.range_tombstones.enabled` cluster setting. This cluster setting is ignored in cluster version 23.1+. Epic: none Informs #97869. Release note: none Co-authored-by: Jackson Owens <[email protected]>
This cluster setting has been removed already. |
For reference: this was removed in #112269. |
Is your feature request related to a problem? Please describe.
The MVCC Range Tombstones feature shipped in 22.2, gated behind the
storage.mvcc.range_tombstones.enabled
cluster setting. While the setting will continue to exist in 23.1, the feature is unconditionally enabled (i.e. the cluster setting is ignored).In 23.2 we should remove the cluster setting and the associated helper functions, etc.
Additional context
See #91147 for the original context.
Jira issue: CRDB-24933
The text was updated successfully, but these errors were encountered: