Skip to content
Snippets Groups Projects
Commit 07e20b9c authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

replication: fix gh-853 "incomprehensible error message"

When handling join, an error from box_on_cluster_join()
was ignored and not sent to the client, so the client
believed that the JOIN was handled successfully and proceeded
with SUBSCRIBE.

Before sending OK to join, execute box_on_cluster_join(),
if it fails, the client sees an error and stops.

Make ER_REPLICA_MAX a logged error.

No test case since the test requires a fail-stop test of the replica,
which is clumsy in our framework.
parent 624ab51b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment