Skip to content

Praefect: unhealthy nodes must not be used for read distribution

Pavlo Strokov requested to merge ps-dist-reads-to-healthy into master

Coordinator must take into account state of the secondary node that is considered for forwarding a read operation onto. Unhealthy node must not be chosen even if it is in up to date state in terms of replication.
Each node contains N last health checks that are used to verify if node is healthy. nodeCandidate has been replaced with Node.
And localElector now does health check for it's nodes in parallel.

Closes: #2823 (closed)

Edited by GitLab Release Tools Bot

Merge request reports

Loading