Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
router: skip failover health check during initial configuration
This commit fixes the flakiness of the failover/cluster_changes test, which was caused by the commit 9fc976d ("router: calls affect temporary prioritized replica"). It started to check `replica.net_sequential_ok` during `up_replica_priority`. However, during the configuration of the instance, `net_sequential_ok` is 0, so when failover fiber didn't manage to ping the instance (e.g. connection have not been created yet) router throwed SUBOPTIMAL_REPLICA alert. Let's disable health checkers during router configuration (when prioritized replica is not set at all). Closes #495 NO_DOC=bugfix NO_TEST=<covered by failover/cluster_changes>
- Loading branch information