Change message on incompatible epoch_id error (#786)

This commit is contained in:
Vlasta 2023-03-06 20:01:02 +01:00 committed by GitHub
parent 173f5430aa
commit 99a6c72bba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,9 +109,11 @@ void Storage::ReplicationClient::InitializeClient() {
} }
if (branching_point) { if (branching_point) {
spdlog::error( spdlog::error(
"Replica {} cannot be used with this instance. Please start a clean " "You cannot register Replica {} to this Main because at one point "
"instance of Memgraph server on the specified endpoint.", "Replica {} acted as the Main instance. Both the Main and Replica {} "
name_); "now hold unique data. Please resolve data conflicts and start the "
"replication on a clean instance.",
name_, name_, name_);
return; return;
} }