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

[Searchable Snapshots] Fail gracefully with proper error message for invalid operations (e.g. writes) #4655

Closed
Tracked by #2919
andrross opened this issue Sep 30, 2022 · 1 comment
Assignees
Labels
distributed framework enhancement Enhancement or improvement to existing feature or request v2.4.0 'Issues and PRs related to version v2.4.0'

Comments

@andrross
Copy link
Member

andrross commented Sep 30, 2022

Searchable snapshot indexes are inherently read only. This goal of this task is to enumerate the operations that are invalid for a read-only searchable snapshot index, and then implement the behavior to respond with a proper error message. The concept of read-only indexes is not new in OpenSearch so existing capabilities may be able to be used here. This task does depend on #4138 to implement the initial framework that will be built upon.

The expected outcome of this task is the design for how this will be implemented. There are existing write block capabilities, but a perhaps important difference here is that the write blocks should not be able to be changed by the user for the life of this type of index, so that may be different than what the current capability allows for.

Additional context

@andrross andrross added enhancement Enhancement or improvement to existing feature or request distributed framework labels Sep 30, 2022
@Vishalks
Copy link
Contributor

Vishalks commented Oct 3, 2022

I am looking into this

@andrross andrross added the v2.4.0 'Issues and PRs related to version v2.4.0' label Oct 7, 2022
@anasalkouz anasalkouz moved this to In Progress in Searchable Snapshots Oct 14, 2022
Repository owner moved this from In Progress to Done in Searchable Snapshots Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
distributed framework enhancement Enhancement or improvement to existing feature or request v2.4.0 'Issues and PRs related to version v2.4.0'
Projects
Status: Done
Development

No branches or pull requests

3 participants