]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: do not start_new_segment on replay_start
authorSage Weil <sage@newdream.net>
Wed, 13 Apr 2011 18:26:15 +0000 (11:26 -0700)
committerSage Weil <sage@newdream.net>
Wed, 13 Apr 2011 20:58:19 +0000 (13:58 -0700)
We do not need to start a new segment after replay.  And in fact must not
journal an ESubtreeMap prior to doing resolve!

Signed-off-by: Sage Weil <sage@newdream.net>
src/mds/MDS.cc

index 29a3f55f3b10d176102b51ca75b82d7ce29dc97f..c663d65c55a135146624a43e22f499c8ad5bf70b 100644 (file)
@@ -1396,10 +1396,6 @@ void MDS::standby_trim_segments()
 void MDS::reopen_log()
 {
   dout(1) << "reopen_log" << dendl;
-
-  // start new segment
-  mdlog->start_new_segment(0);
-
   mdcache->rollback_uncommitted_fragments();
 }