main: better error message

This commit is contained in:
Thomas Schoebel-Theuer 2020-11-02 19:45:18 +01:00
parent 461ac8b4cd
commit 68596789f5
1 changed files with 3 additions and 1 deletions

View File

@ -2753,7 +2753,9 @@ int peer_action_dent_list(struct mars_peerinfo *peer,
}
if (unlikely(strcmp(peer_uuid->new_link, my_uuid) &&
strcmp(my_uuid, "(any)"))) {
MARS_ERR("UUID mismatch for peer %s, you are trying to communicate with a foreign cluster!\n", peer->peer);
MARS_ERR("UUID mismatch '%s' != '%s' for peer '%s'\n",
peer_uuid->new_link, my_uuid,
peer->peer);
make_peer_msg(peer, peer_pairs,
"UUID mismatch with '%s', own cluster '%s' is trying to communicate with a foreign cluster '%s'",
peer->peer,