]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
PG: set log.backlog to false on corrupt log
authorSamuel Just <samuel.just@dreamhost.com>
Thu, 22 Sep 2011 16:46:12 +0000 (09:46 -0700)
committerSamuel Just <samuel.just@dreamhost.com>
Thu, 22 Sep 2011 16:57:25 +0000 (09:57 -0700)
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
src/osd/PG.cc

index fa3dbd803a91c7dc0856c1fc23c7893070f482a5..73110c67cabd1abb0341f1aa0e1488e38bf7a79d 100644 (file)
@@ -2469,6 +2469,7 @@ void PG::read_state(ObjectStore *store)
     // reset info
     info.log_tail = info.last_update;
     info.log_backlog = false;
+    log.backlog = false;
 
     // Move the corrupt log to a new place and create a new zero-length log entry.
     ObjectStore::Transaction t;