-
Notifications
You must be signed in to change notification settings - Fork 471
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
Remove active column #10335
base: main
Are you sure you want to change the base?
Remove active column #10335
Conversation
7293 tests run: 6928 passed, 0 failed, 365 skipped (full report)Flaky tests (3)Postgres 17
Postgres 15
Postgres 14
Code coverage* (full report)
* collected from Rust tests only The comment gets automatically updated with the latest test results
78b4727 at 2025-01-10T00:44:32.251Z :recycle: |
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.
LGTM - can you please check that the following scenario is okay as long as we don't query the safekeepers or add a new one:
- new storage controller is released
- We roll-back the storage release
- old storage controller starts-up
It should be safe, no active code is reading safekeepers from the db yet. |
Yeah we don't use the column for anything, nor do we read from the db as part of routine operation, so I think it should be safe. Going to merge this PR once #10338 merges. We don't have the roll-back of migrations as part of the release workflow yet, right? Aka, "rollback" of a release is just rolling out the old one. I think this is not sufficient here as the "down" migration is not present in the older release. If we want to do a rollback, we'd need to manually apply the right sql commands during the release process. |
Right. I was thinking about: "do we have to do the manual db rollback as long as we dont't query the safekeepers table?". I think we don't have to. |
We don't need or want the
active
column. Remove it. Vlad pointed out that this is safe.Thanks to the separation of the schemata in earlier PRs, this is easy.
follow-up of #10205
Part of #9981