diff options
Diffstat (limited to 'lib/backupstore/BackupStoreCheck.cpp')
-rw-r--r-- | lib/backupstore/BackupStoreCheck.cpp | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/lib/backupstore/BackupStoreCheck.cpp b/lib/backupstore/BackupStoreCheck.cpp index bd9171c6..935a55c1 100644 --- a/lib/backupstore/BackupStoreCheck.cpp +++ b/lib/backupstore/BackupStoreCheck.cpp @@ -464,6 +464,14 @@ bool BackupStoreCheck::CheckAndAddObject(int64_t ObjectID, int64_t containerID = -1; int64_t size = -1; + // Debugging for Sune Molgaard's issue with non-existent files being + // detected as unattached and crashing later in CheckUnattachedObjects() + if (ObjectID == 0x90c1a) + { + BOX_INFO("Trying to open " << BOX_FORMAT_OBJECTID(ObjectID) << + " from " << rFilename << " on disc " << mDiscSetNumber); + } + try { // Open file @@ -522,7 +530,16 @@ bool BackupStoreCheck::CheckAndAddObject(int64_t ObjectID, { return false; } - + + // Debugging for Sune Molgaard's issue with non-existent files being + // detected as unattached and crashing later in CheckUnattachedObjects() + if (ObjectID == 0x90c1a) + { + BOX_INFO("Adding ID " << BOX_FORMAT_OBJECTID(ObjectID) << + " contained by " << BOX_FORMAT_OBJECTID(containerID) << + " with size " << size << " and isFile " << isFile); + } + // Add to list of IDs known about AddID(ObjectID, containerID, size, isFile); |