I realized my other PR was great for fixing some of the flakes we encountered, but really we need to wait for the green status to avoid all the failures that can happen on production elasticsearch providers. Yellow status does not wait for all shards to finish replication, but green does!
This new solution will create all indices asynchronously and then wait on them all synchronously for a large perf boost. You will only see this error if you're using a properly configured cluster production cluster.
I realized my other PR was great for fixing some of the flakes we encountered, but really we need to wait for the green status to avoid all the failures that can happen on production elasticsearch providers. Yellow status does not wait for all shards to finish replication, but green does!
This new solution will create all indices asynchronously and then wait on them all synchronously for a large perf boost. You will only see this error if you're using a properly configured cluster production cluster.