]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/PaxosService: rename scrub
authorSage Weil <sage@inktank.com>
Wed, 26 Jun 2013 04:06:14 +0000 (21:06 -0700)
committerSage Weil <sage@inktank.com>
Wed, 26 Jun 2013 13:55:02 +0000 (06:55 -0700)
Make the name patch the one in Paxos.

Signed-off-by: Sage Weil <sage@inktank.com>
src/mon/PaxosService.cc
src/mon/PaxosService.h

index 345fa36cb41bd2e98e5c4b8a00873f1ef20b49a8..538cc8a4f71c112c5e82b7943b7ac03651dbdaeb 100644 (file)
@@ -122,7 +122,7 @@ void PaxosService::refresh(bool *need_bootstrap)
 }
 
 
-void PaxosService::scrub()
+void PaxosService::remove_legacy_versions()
 {
   dout(10) << __func__ << dendl;
   if (!mon->store->exists(get_service_name(), "conversion_first"))
@@ -274,7 +274,7 @@ void PaxosService::_active()
   }
   dout(10) << "_active" << dendl;
 
-  scrub();
+  remove_legacy_versions();
 
   // create pending state?
   if (mon->is_leader() && is_active()) {
index 5975cb94e496e7de8fb88b50b27e26726d2cbcab..8cd8908556bb532abfd180946fca998a315de60e 100644 (file)
@@ -261,7 +261,7 @@ private:
    * Scrub our versions after we convert the store from the old layout to
    * the new k/v store.
    */
-  void scrub();
+  void remove_legacy_versions();
 
 public:
   /**