This repository has been archived by the owner on Mar 30, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check that security index is green before upating built-in passwords
This commit updates the built-in password setting process to check that the security index is green before proceeding. Due to concurrent password updating from each node, it is possible for the security index to not be ready when attempting to update passwords, leading to a response of { "error": { "root_cause": [{ "type": "status_exception", "reason": "Cluster state has not been recovered yet, cannot write to the [null] index" }], "type": "status_exception", "reason": "Cluster state has not been recovered yet, cannot write to the [null] index" }, "status": 503 }
- Loading branch information