Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
storage controller: handle legacy TenantConf in consistency_check (#1…
…0422) ## Problem We were comparing serialized configs from the database with serialized configs from memory. If fields have been added/removed to TenantConfig, this generates spurious consistency errors. This is fine in test environments, but limits the usefulness of this debug API in the field. Closes: #10369 ## Summary of changes - Do a decode/encode cycle on the config before comparing it, so that it will have exactly the expected fields.
- Loading branch information
2e13a3a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
7477 tests run: 7088 passed, 0 failed, 389 skipped (full report)
Flaky tests (4)
Postgres 17
test_storage_controller_node_deletion[True]
: debug-x86-64test_storage_controller_node_deletion[False]
: debug-x86-64test_create_churn_during_restart
: release-arm64test_delete_timeline_exercise_crash_safety_failpoints[Check.RETRY_WITHOUT_RESTART-timeline-delete-before-rm]
: release-arm64Code coverage* (full report)
functions
:33.7% (8427 of 25030 functions)
lines
:49.2% (70467 of 143341 lines)
* collected from Rust tests only
2e13a3a at 2025-01-16T19:23:15.522Z :recycle: