[Box Backup-commit] COMMIT r3363 - box/trunk/lib/backupstore

subversion at boxbackup.org subversion at boxbackup.org
Fri Aug 15 23:47:50 BST 2014


Author: chris
Date: 2014-08-15 23:47:50 +0100 (Fri, 15 Aug 2014)
New Revision: 3363

Modified:
   box/trunk/lib/backupstore/BackupStoreFileDiff.cpp
Log:
Improve readability of block checksum match message.

Mute the mismatch message, as there are just too many of them.

Modified: box/trunk/lib/backupstore/BackupStoreFileDiff.cpp
===================================================================
--- box/trunk/lib/backupstore/BackupStoreFileDiff.cpp	2014-08-15 22:47:48 UTC (rev 3362)
+++ box/trunk/lib/backupstore/BackupStoreFileDiff.cpp	2014-08-15 22:47:50 UTC (rev 3363)
@@ -642,7 +642,7 @@
 					{
 						if(SecondStageMatch(phashTable[hash], rolling, beginnings, endings, offset, Sizes[s], fileBlockNumber, pIndex, rFoundBlocks))
 						{
-							BOX_TRACE("Found block match for " << hash << " of " << Sizes[s] << " bytes at offset " << fileOffset);
+							BOX_TRACE("Found block match of " << Sizes[s] << " bytes with hash " << hash << " at offset " << fileOffset);
 							goodnessOfFit[fileOffset] = Sizes[s];
 
 							// Block matched, roll the checksum forward to the next block without doing
@@ -670,7 +670,7 @@
 						}
 						else
 						{
-							BOX_TRACE("False alarm match for " << hash << " of " << Sizes[s] << " bytes at offset " << fileOffset);
+							// BOX_TRACE("False alarm match of " << Sizes[s] << " bytes with hash " << hash << " at offset " << fileOffset);
 						}
 
 						int64_t NumBlocksFound = static_cast<int64_t>(




More information about the Boxbackup-commit mailing list