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

Supported operations per scope #18

Open
adammck opened this issue Oct 19, 2022 · 0 comments
Open

Supported operations per scope #18

adammck opened this issue Oct 19, 2022 · 0 comments
Labels
feature Needed but currently missing. nice-to-have

Comments

@adammck
Copy link
Owner

adammck commented Oct 19, 2022

I recently encountered a system which supports the equivalent of range moves and splits, but not range joins, because (for unimportant reasons) the former was easy to implement, and the latter will be hard. As such we should probably allow each operation to be enabled/disabled on a per-keyspace basis.

Clients are already free of course to reject joins (by considering how many range parents the placement has; more than one means it's a join) and splits (by checking whether the key range of the placement is a subset of its parent range), but there's no way to signal back to the controller that it isn't supported, only that it failed, so it will be retried forever.

This would presumably use the same configuration interface as #14.

@adammck adammck added feature Needed but currently missing. nice-to-have labels Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Needed but currently missing. nice-to-have
Projects
None yet
Development

No branches or pull requests

1 participant