opensearch-project / OpenSearch

🔎 Open source distributed and RESTful search engine.
https://opensearch.org/docs/latest/opensearch/index/
Apache License 2.0
9.69k stars 1.79k forks source link

[BUG] [Remote State] Auto restoring decommission attributes after QL can lead to election loops #10905

Open linuxpi opened 12 months ago

linuxpi commented 12 months ago

Describe the bug

To Reproduce Steps to reproduce the behavior:

  1. Create a 3 dedicated cluster manager remote store and remote state domain with force zone awareness enabled.
  2. Weight out a dedicated cluster manager node using a node attr
  3. Decommission the weighed out cluster manager node.
  4. Replace all cluster manager nodes
  5. The new cluster manager nodes will download the remote state with decommission attributes
  6. Cluster would go into election loops

Expected behavior Decommissioned node should not participate in voting

kiranprakash154 commented 9 months ago

Hi, are we on track for this to be released in 2.12 ?

linuxpi commented 7 months ago

Hi, are we on track for this to be released in 2.12 ?

Removed the 2.12 label.

@soosinha Can you add the correct target release label?