]> git.apps.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:56:25 +0000 (09:56 -0700)
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
src/osd/PG.cc

index de0ee124b669ae29a3dd8b51d04cb3c3b3539300..8ed5ffde041381c8418fafde499715df861fd879 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;