Changeset 2861 for box/trunk/lib
- Timestamp:
- 23/02/2011 23:51:29 (15 months ago)
- Location:
- box/trunk/lib/backupstore
- Files:
-
- 2 edited
-
BackupStoreCheck.cpp (modified) (2 diffs)
-
BackupStoreCheck2.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
box/trunk/lib/backupstore/BackupStoreCheck.cpp
r2701 r2861 465 465 int64_t size = -1; 466 466 467 // Debugging for Sune Molgaard's issue with non-existent files being 468 // detected as unattached and crashing later in CheckUnattachedObjects() 469 if (ObjectID == 0x90c1a) 470 { 471 BOX_INFO("Trying to open " << BOX_FORMAT_OBJECTID(ObjectID) << 472 " from " << rFilename << " on disc " << mDiscSetNumber); 473 } 474 467 475 try 468 476 { … … 523 531 return false; 524 532 } 525 533 534 // Debugging for Sune Molgaard's issue with non-existent files being 535 // detected as unattached and crashing later in CheckUnattachedObjects() 536 if (ObjectID == 0x90c1a) 537 { 538 BOX_INFO("Adding ID " << BOX_FORMAT_OBJECTID(ObjectID) << 539 " contained by " << BOX_FORMAT_OBJECTID(containerID) << 540 " with size " << size << " and isFile " << isFile); 541 } 542 526 543 // Add to list of IDs known about 527 544 AddID(ObjectID, containerID, size, isFile); -
box/trunk/lib/backupstore/BackupStoreCheck2.cpp
r2702 r2861 158 158 std::string filename; 159 159 StoreStructure::MakeObjectFilename(pblock->mID[e], mStoreRoot, mDiscSetNumber, filename, false /* don't attempt to make sure the dir exists */); 160 161 // Debugging for Sune Molgaard's issue with non-existent files being 162 // detected as unattached and crashing later in CheckUnattachedObjects() 163 if (pblock->mID[e] == 0x90c1a) 164 { 165 BOX_INFO("Trying to open unattached " << 166 BOX_FORMAT_OBJECTID(pblock->mID[e]) << 167 " from " << filename << " on " << mDiscSetNumber); 168 } 169 160 170 // The easiest way to do this is to verify it again. Not such a bad penalty, because 161 171 // this really shouldn't be done very often.
Note: See TracChangeset
for help on using the changeset viewer.
