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

[Remote Migration] Snapshot restore on a closed index leads to red cluster #16018

Open
gbbafna opened this issue Sep 20, 2024 · 0 comments
Open
Labels
bug Something isn't working Storage:Snapshots

Comments

@gbbafna
Copy link
Collaborator

gbbafna commented Sep 20, 2024

Describe the bug

{
  "index": "my-index-000012",
  "shard": 0,
  "primary": true,
  "current_state": "unassigned",
  "unassigned_info": {
    "reason": "ALLOCATION_FAILED",
    "at": "2024-09-19T17:58:14.305Z",
    "failed_allocation_attempts": 5,
    "details": "failed shard on node [aQFQim2LStylFQk_74z6cQ]: failed to create shard, failure IllegalStateException[[{[my-index-000012][0]}] Cannot initialize shards with remote store index settings on non-remote store nodes]",
    "last_allocation_status": "no"
  },

When we try to Snapshot restore on a closed index, the cluster turns red during remote migration .

Related component

Storage:Snapshots

To Reproduce

  1. Start remote migration
  2. During shards migration , close an index
  3. Restore the index

Expected behavior

Cluster should become green

Additional Details

Plugins
Please list all plugins currently enabled.

Screenshots
If applicable, add screenshots to help explain your problem.

Host/Environment (please complete the following information):

  • OS: [e.g. iOS]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@gbbafna gbbafna added bug Something isn't working untriaged labels Sep 20, 2024
@gbbafna gbbafna removed the untriaged label Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Storage:Snapshots
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant