Commit 40bfd076 authored by Julius Roob's avatar Julius Roob

MirroredMessage: Add more information to 'different return codes' log message.

parent 0e55212d
......@@ -351,7 +351,9 @@ class MirroredMessage : public BaseT
// of sync.
LOG_CTX(NOTICE, mirrorLogContext(),
"Different return codes from primary and secondary buddy. "
"Setting secondary to needs-reync");
"Setting secondary to needs-resync.",
as("Expected response", FhgfsOpsErrTk::toErrString(expectedResult)),
as("Received response", FhgfsOpsErrTk::toErrString(respMsgRes)));
setBuddyNeedsResync();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment