-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
clusterversion: remove V23_1 checks #124286
Conversation
4f614f1
to
22c3285
Compare
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.
Reviewed 45 of 45 files at r1, all commit messages.
Reviewable status: complete! 1 of 0 LGTMs obtained (waiting on @celiala, @dt, @nameisbhaskar, @nkodali, @vidit-bhat, and @wenyihu6)
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.
Reviewed 45 of 45 files at r1, all commit messages.
Reviewable status: complete! 2 of 0 LGTMs obtained (waiting on @dt, @nameisbhaskar, @nkodali, @vidit-bhat, and @wenyihu6)
bors r+ |
Build failed: |
22c3285
to
6b9d40b
Compare
7898354
to
4f7115f
Compare
Hmm. The restore changes raise an interesting question about resuming jobs from older versions and indeed about whether we can delete old minted cluster versions at all. the upgrade system ensures that if you observe this version that all nodes are on new code, stay on newer code and migrations run. Currently there is no migration that fails or wait or anything if an older job still exists in the jobs system. the check in restore that is deleted here is not a IsActive check that we known is always true, but rather a check to see what version created the job since that will mean different fields can or cannot be relied on. In theory we could expect to see a job created by 23.1 in any future version, long after 23.1 is below min version, unless we write a migration to block upgrades or something. So while we can delete IsActive gates that are noops due to being below min supported, I’m not sure we can delete the actual minted cluster versions while there is still code comparing them to versions persisted in something like a job? |
Ok, I will revert those changes and leave Maybe the safer thing would be to fail the job if the version that created it is less than |
Remove all `IsActive` checks for 23.1 version. Note that this code could/should have been removed in the 24.1 cycle. Epic: none Release note: None
4f7115f
to
344f632
Compare
Yeah, I wonder if jobs should just do that by default and long-lived jobs should be responsible for hauling up the “creation” version in vX if they know they’re the same in vX as vX-1 |
Ok, for now I am leaving that code alone and I filed #124351. |
TFTR! bors r+ |
Remove all
IsActive
checks for 23.1 version. Note that this codecould/should have been removed in the 24.1 cycle.
Epic: none
Release note: None