[Box Backup-commit] COMMIT r3080 - box/trunk/bin/bbstored
subversion at boxbackup.org
subversion at boxbackup.org
Thu Feb 2 22:17:40 GMT 2012
Author: chris
Date: 2012-02-02 22:17:40 +0000 (Thu, 02 Feb 2012)
New Revision: 3080
Modified:
box/trunk/bin/bbstored/HousekeepStoreAccount.cpp
Log:
Log which account we're housekeeping, to help debug housekeeping crashes/failures.
Modified: box/trunk/bin/bbstored/HousekeepStoreAccount.cpp
===================================================================
--- box/trunk/bin/bbstored/HousekeepStoreAccount.cpp 2012-02-02 22:16:58 UTC (rev 3079)
+++ box/trunk/bin/bbstored/HousekeepStoreAccount.cpp 2012-02-02 22:17:40 UTC (rev 3080)
@@ -87,6 +87,9 @@
// --------------------------------------------------------------------------
void HousekeepStoreAccount::DoHousekeeping(bool KeepTryingForever)
{
+ BOX_TRACE("Starting housekeeping on account " <<
+ BOX_FORMAT_OBJECTID(mAccountID));
+
// Attempt to lock the account
std::string writeLockFilename;
StoreStructure::MakeWriteLockFilename(mStoreRoot, mStoreDiscSet,
@@ -355,6 +358,9 @@
// Explicity release the lock (would happen automatically on
// going out of scope, included for code clarity)
writeLock.ReleaseLock();
+
+ BOX_TRACE("Finished housekeeping on account " <<
+ BOX_FORMAT_OBJECTID(mAccountID));
}
More information about the Boxbackup-commit
mailing list