1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2026-10-23 09:48:57 +03:00

MGL-301 Generalize message for error_connection_failed

In practice WSREP_CONN_FAIL provider error code came to mean inability
to replicate writesets, and this applies not only to a situation where
the node is not connected to a primary component, but also when it is
not sufficiently synced - e.g. is receiving an SST or lags behind too
much. Change the error message from "not connected" to "not synced" to
cover all such situations.
This commit is contained in:
Alexey Yurchenko
2026-10-07 10:27:10 +02:00
parent 66a2add655
commit 907e2ff062

View File

@@ -72,7 +72,7 @@ wsrep::provider::to_string(enum wsrep::provider::status const val)
case error_size_exceeded:
return "Transaction size exceeded";
case error_connection_failed:
return "Not connected to Primary Component";
return "Not synced with a Primary Component";
case error_provider_failed:
return "Provider in bad state, needs to be reinitialized.";
case error_fatal: