mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-27 23:49:13 +00:00
* Fix Test Failure in testCorrectCountsForDoneShards Fixing the freak edge case where the node shard status request returns before the node was able to send the state update request to master and update the cluster state. Without this change, the snapshot shard status would report as `DONE` once the data node has finished updating the shard in the cluster state. If the data node then drops out of the cluster before the state has been updated, then the status will jump to "FAILURE" because the master updates the state once the data node leaves the cluster. Closes #60247