Commit 5ba4011c authored by Georgios Bitzes's avatar Georgios Bitzes

MGM: Improve error message in CommitHelper when file size mismatch is detected

parent e41b1708
Pipeline #503967 passed with stages
in 35 minutes and 14 seconds
......@@ -330,7 +330,7 @@ CommitHelper::validate_size(eos::common::Mapping::VirtualIdentity_t& vid,
if (fmd->getSize() != size) {
eos_thread_err("replication for fid=%lu resulted in a different file "
"size on fsid=%llu - rejecting replica", fmd->getId(), fsid);
"size on fsid=%llu - %llu vs %llu - rejecting replica", fmd->getId(), fsid, fmd->getSize(), size);
gOFS->MgmStats.Add("ReplicaFailedSize", 0, 0, 1);
// -----------------------------------------------------------
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