]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Revert "PG::init: clear rollback info for backfill as well"
authorSamuel Just <sam.just@inktank.com>
Sun, 21 Sep 2014 17:10:02 +0000 (10:10 -0700)
committerSamuel Just <sam.just@inktank.com>
Sun, 21 Sep 2014 17:10:02 +0000 (10:10 -0700)
Log here is already empty, need to rollback the log when we start
removal in on_removal().

This reverts commit 1e69ff2f3c7940d3969f5357b5aa1463015213e2.

src/osd/PG.cc

index f558a00867d20832d643c99eaf5f003b543aa282..72d349fca31a8995af385848ed8388c5af8e68c8 100644 (file)
@@ -2418,11 +2418,6 @@ void PG::init(
     dout(10) << __func__ << ": Setting backfill" << dendl;
     info.last_backfill = hobject_t();
     info.last_complete = info.last_update;
-
-    PGLogEntryHandler rollbacker;
-    pg_log_t empty;
-    pg_log.claim_log_and_clear_rollback_info(empty, &rollbacker);
-    rollbacker.apply(this, t);
     pg_log.mark_log_for_rewrite();
   }