-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
avoid attempting to migrate old configs #17004
Conversation
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. I presume you tested as much as possible.
I think maybe we should start with adding MinIO version in format.json. It may be useful to prevent direct upgrade from very old versions when we do very old code clean up. |
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.
@harshavardhana LGTM, but maybe if we want to just drop support of older config versions to clean up existing code, we can error out after testing on config version (<=33) and tell that the user needs to upgrade to 'RELEASE.2023-04-07T05-28-58Z' first.
We can but it's a bunch of stuff to document @vadmeste and confusing. I would like to avoid that completely. @klauspost I did I will test more, there is one more change missing here. I am removing migration code for credentials based encryption to KMS based. |
fff95c2
to
f13fabe
Compare
re-did the decryption migration as well, we will never need to migrate any old content, we simply read them always as their original entity. But let the WRITEs make sure that we write back in the new format, so we do not need to hold |
352f9b4
to
42028a1
Compare
instead of migration, move them in-memory to a local representation of new config. In all other cases re-initialize if config's missing.
42028a1
to
fad4edc
Compare
the amount of listing calls this can start can easily overwhelm the server and add to latencies upon startup on a large setup. With the change in the PR minio#17004 - we have no reason to heal or migrate old formats. We can always read and let them be overwritten in time.
The number of listing calls this can start can easily overwhelm the server and add to latencies upon startup on a large setup. With the change in PR minio#17004 - we have no reason to heal or migrate old formats. We can always read and let them be overwritten in time.
The number of listing calls this can start can easily overwhelm the server and add to latencies upon startup on a large setup. With the change in PR minio#17004 - we have no reason to heal or migrate old formats. We can always read and let them be overwritten in time.
The number of listing calls this can start can easily overwhelm the server and add to latencies upon startup on a large setup. With the change in PR minio#17004 - we have no reason to heal or migrate old formats. We can always read and let them be overwritten in time.
The number of listing calls this can start can easily overwhelm the server and add to latencies upon startup on a large setup. With the change in PR minio#17004 - we have no reason to heal or migrate old formats. We can always read and let them be overwritten in time.
The number of listing calls this can start can easily overwhelm the server and add to latencies upon startup on a large setup. With the change in PR minio#17004 - we have no reason to heal or migrate old formats. We can always read and let them be overwritten in time.
Description
avoid attempting to migrate old configs
Motivation and Context
instead of migration, move them in memory to a
local representation of new config.
In all other cases re-initialize if config's
missing.
How to test this PR?
Types of changes
Checklist:
commit-id
orPR #
here)