summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2014-02-11 18:42:15 +0000
committerChris Wilson <chris+github@qwirx.com>2014-02-11 18:42:15 +0000
commite526406b39a911378f7c1e54a6a74addc2945697 (patch)
tree08469012b27524f27138b6447e9ec67cc296d697 /lib
parent8602278bf879c0a4bab50f302c702aac53509971 (diff)
Don't consider it an error if LastObjectIDUsed changes during check.
There could be many reasons for this, including an invalid object being deleted during the previous check run. And it's definitely not serious.
Diffstat (limited to 'lib')
-rw-r--r--lib/backupstore/BackupStoreInfo.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/backupstore/BackupStoreInfo.cpp b/lib/backupstore/BackupStoreInfo.cpp
index bf672e69..bfacc6e6 100644
--- a/lib/backupstore/BackupStoreInfo.cpp
+++ b/lib/backupstore/BackupStoreInfo.cpp
@@ -426,7 +426,6 @@ int BackupStoreInfo::ReportChangesTo(BackupStoreInfo& rOldInfo)
COMPARE(AccountID);
COMPARE(AccountName);
- COMPARE(LastObjectIDUsed);
COMPARE(BlocksUsed);
COMPARE(BlocksInCurrentFiles);
COMPARE(BlocksInOldFiles);
@@ -441,6 +440,15 @@ int BackupStoreInfo::ReportChangesTo(BackupStoreInfo& rOldInfo)
#undef COMPARE
+ if (rOldInfo.GetLastObjectIDUsed() != GetLastObjectIDUsed())
+ {
+ BOX_NOTICE("LastObjectIDUsed changed from " <<
+ rOldInfo.GetLastObjectIDUsed() << " to " <<
+ GetLastObjectIDUsed());
+ // Not important enough to be an error
+ // numChanges++;
+ }
+
return numChanges;
}