-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
cli/start: check if the special version initialization for secondary tenants can go away #90831
Comments
Yeah, I noticed this too in my work this week and was planning on deleting it. Feel free to do so yourself if you get to it first, unless @dt disagrees. |
So it's safe to delete? |
That's my opinion, unless I'm misunderstanding something. It seems like ever since 21.1 we were populating this value correctly here: Lines 267 to 278 in 8cdaa31
I think this means that we should also be able to remove this code: cockroach/pkg/sql/set_cluster_setting.go Lines 484 to 490 in 8cdaa31
|
ok i'll remove it in #90176 |
Sadly, that bit is not optional. Without it, SQL server initialization fails:
triggered by This tells me that we need some value in the in-memory setting before the actual first value is fetched from KV. |
This was closed by mistake. Still current. |
cc @healthy-pod for info |
ok now I understand why this must be there. No need for this issue any more. |
Describe the problem
In the server startup for secondary tenant, we see the following special-purpose code:
Is this initialization still relevant? Can we remove it?
cc @dt @ajstorm for advice.
Jira issue: CRDB-20962
Epic CRDB-10829
The text was updated successfully, but these errors were encountered: