Skip to content
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

system_auth table RF is not extended during scale out? #1358

Closed
Tracked by #1362 ...
mykaul opened this issue Aug 29, 2023 · 3 comments · Fixed by #1419
Closed
Tracked by #1362 ...

system_auth table RF is not extended during scale out? #1358

mykaul opened this issue Aug 29, 2023 · 3 comments · Fixed by #1419
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.

Comments

@mykaul
Copy link
Contributor

mykaul commented Aug 29, 2023

When you add more nodes to a Scylla cluster, I'm not sure the operator expand the RF for system_auth table, as the docs ask to do.
(I'm pretty sure I've already opened a bug about it, but couldn't find it)

@mykaul mykaul added the kind/bug Categorizes issue or PR as related to a bug. label Aug 29, 2023
@tnozicka tnozicka added the priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. label Aug 29, 2023
@tnozicka
Copy link
Contributor

Thanks for reporting it, I don't recall an older one.

Is there any chance that ScyllaDB would just do it automatically in the near term future? It seems like a strange requirements for administrators if it should be set at any time to the current number of nodes in a DC while ScyllaDB could just set the value when it scales automatically.

@tnozicka
Copy link
Contributor

tnozicka commented Aug 29, 2023

If authenticator is set to PasswordAuthenticator - increase the replication factor of the system_auth keyspace.

For example:

ALTER KEYSPACE system_auth WITH REPLICATION = {'class' : 'NetworkTopologyStrategy', 'dc1' : <new_replication_factor>};

It is recommended to set system_auth replication factor to the number of nodes in each DC.

https://opensource.docs.scylladb.com/stable/operating-scylla/procedures/cluster-management/add-node-to-cluster.html

@mykaul
Copy link
Contributor Author

mykaul commented Aug 31, 2023

At the very least we might want to add it to our operator documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants