-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
setting ‹"cluster.preserve_downgrade_option"› to ‹"20.2"› failed: cannot set cluster.preserve_downgrade_option to ‹20.2› (cluster version is 21.1) #68335
Comments
Hello, I am Blathers. I am here to help you get the issue triaged. Hoot - a bug! Though bugs are the bane of my existence, rest assured the wretched thing will get the best of care here. I have CC'd a few people who may be able to assist you:
If we have not gotten back to your issue within a few business days, you can try the following:
🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is otan. |
@tbg Can you take a look at this? Seems like it tries to apply cached settings when they aren't applicable anymore. |
@tbg I am having a similar issue, and I am wondering what this is about.
What does it mean? |
This warning is not a big deal. The stack trace makes it look scary. It means that these nodes think that the preserve downgrade option should be set because that's what they had on disk but they've learned that the version is already newer than that. I believe this should only happen once. We could special case away this warning, but I don't think it's a major thing. This would happen if you upgrade manually but don't clear the preserve downgrade option setting. You can clear it with |
I think what I'd say is that we should refuse to upgrade if you've got the |
In our case the error occurs every single time a node starts. We cleared As an example:
And then restarting a node in this cluster:
|
Interesting. Thanks for the report. I found the bug and will file a separate issue. We don't clear unset settings from our on-disk cache 🙁. |
Filed #70567. |
This was fixed by #111475. |
Describe the problem
After upgrading our clusters from 20.2 to 21.1, all nodes now appear to want to adjust
cluster.preserve_downgrade_option
when starting.To Reproduce
We upgraded our cockroachdb clusters. When upgrading each cluster, we used the following steps:
SET CLUSTER SETTING cluster.preserve_downgrade_option = '20.2';
executed prior to upgradeRESET CLUSTER SETTING cluster.preserve_downgrade_option;
executedExpected behavior
The node seems to want to adjust the
preserve_downgrade_option
with no good reason.Additional data / screenshots
Environment:
Additional context
Jira issue: CRDB-8992
Epic: CRDB-6671
The text was updated successfully, but these errors were encountered: