Skip to content

Parameterize adding read only or write blocks to an index with metadata #132097

@dakrone

Description

@dakrone

Description

A user can currently either manually, or through ILM/DLM add an index block. A user then gets back an error when they interact in a way that is blocked:

index [...] blocked by: [FORBIDDEN/8/index write (api)]

It would be nice if we could add metadata information to the index when the block was added, so that we could add details about who applied the block, when, etc. We can then return a more descriptive error like:

index [...] blocked by: [FORBIDDEN/8/index write (api) - index block added by the [searchable_snapshot] action in ILM policy [my-ilm-policy]]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions