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

Confirm that we cannot alter or change the replicated cluster from the user side (only Buddy). #207

Open
donhardman opened this issue Feb 7, 2024 · 3 comments
Assignees

Comments

@donhardman
Copy link
Contributor

donhardman commented Feb 7, 2024

We need to ensure that changes to the cluster, necessary for replicating shards in the auto-sharding scheme, can't be made through direct requests but are only permitted from the user side.

This task is on hold due to: manticoresoftware/manticoresearch#1423

@sanikolaev
Copy link
Collaborator

Can you provide an example of "changes to the cluster", so it's easier to implement the tests?

@donhardman
Copy link
Contributor Author

We should NOT be able to perform next queries to protected cluster:

  • ALTER CLUSTER <cluster_name> ADD <table_name>
  • ALTER CLUSTER <cluster_name> DROP <table_name>
  • DELETE CLUSTER <cluster_name>

@donhardman
Copy link
Contributor Author

This is still blocked, cuz daemon does not implement "protected mechanism" for clusters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants