Skip to content

Spread load across all nodes in an elasticsearch cluster

Nick Thomas requested to merge (removed):2911-shuffle-es-urls into master

What does this MR do?

Randomly shuffle the order of elasticsearch URLs when connecting to a multiple-node cluster

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

The Go repository indexer correctly spreads its load across all the nodes in the cluster. We want connections from Ruby (whether database or commits) to do the same.

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #2911 (closed)

Edited by Nick Thomas

Merge request reports