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

EncryptionRequestHandler support for collection with multiple shards #110

Open
danielsason112 opened this issue Jul 17, 2024 · 3 comments · May be fixed by #115
Open

EncryptionRequestHandler support for collection with multiple shards #110

danielsason112 opened this issue Jul 17, 2024 · 3 comments · May be fixed by #115
Assignees

Comments

@danielsason112
Copy link

danielsason112 commented Jul 17, 2024

Hi, running Solr cloud mode, and created a collection with multiple shards. When calling the EncryptionRequestHandler, the encryption process is invoked only for the core that handles the request.

What is the right approach for handling a multi shards collection?
Call /admin/encrypt API for each of the cores separately?

Appreciate suggestions and help on this one. Thanks.

@dsmiley
Copy link

dsmiley commented Aug 4, 2024

Correct, invoke on each. This could be improved.
cc @bruno-roustant

@bruno-roustant
Copy link
Contributor

Yes, calling it on each leader core separately is the right way to do it currently.
There is a plan to improve that, but not yet available.

@bruno-roustant
Copy link
Contributor

I created a PR to encrypt a collection with multiple shards in a single request.

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

Successfully merging a pull request may close this issue.

3 participants