Skip to content

[Remote Store] Reject Resize index requests. (i.e, split, shrink and clone), While DocRep to SegRep migration is in progress. #12976

@astute-decipher

Description

@astute-decipher

Is your feature request related to a problem? Please describe

We want to disallow some APIs' which are involved in Index resizing and shard relocation, when Document-Replication type to Segment-Replication type migration is happening.

Describe the solution you'd like

Resize requests are :

  1. Always allowed if source Index setting/metadata has SETTING_REMOTE_STORE_ENABLED as true.
  2. Disallowed If cluster settings has REMOTE_STORE_COMPATIBILITY_MODE_SETTING as MIXED and MIGRATION_DIRECTION_SETTING as REMOTE_STORE and Condition 1 is not met.

Related component

Storage:Remote

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Labels

Storage:RemoteenhancementEnhancement or improvement to existing feature or request

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions