]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/FileStore: init/clear temp collections *after* replay
authorSage Weil <sage@redhat.com>
Mon, 6 Apr 2015 00:59:04 +0000 (17:59 -0700)
committerSage Weil <sage@redhat.com>
Fri, 19 Jun 2015 00:02:49 +0000 (17:02 -0700)
Signed-off-by: Sage Weil <sage@redhat.com>
src/os/FileStore.cc

index c921d47b9a4a9667f8386198f708f6b4bd52732d..b13f229a998ce2d5d8101811b6993606108e7325 100644 (file)
@@ -1556,8 +1556,6 @@ int FileStore::mount()
     }
   }
 
-  init_temp_collections();
-
   wbthrottle.start();
   sync_thread.create();
 
@@ -1592,6 +1590,8 @@ int FileStore::mount()
     }
   }
 
+  init_temp_collections();
+
   journal_start();
 
   op_tp.start();