From b8d04a2a8b68f0f392361cded3123b3bd800f939 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 25 Jun 2013 21:06:14 -0700 Subject: [PATCH] mon/PaxosService: rename scrub Make the name patch the one in Paxos. Signed-off-by: Sage Weil --- src/mon/PaxosService.cc | 4 ++-- src/mon/PaxosService.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mon/PaxosService.cc b/src/mon/PaxosService.cc index 345fa36cb41bd..538cc8a4f71c1 100644 --- a/src/mon/PaxosService.cc +++ b/src/mon/PaxosService.cc @@ -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()) { diff --git a/src/mon/PaxosService.h b/src/mon/PaxosService.h index 5975cb94e496e..8cd8908556bb5 100644 --- a/src/mon/PaxosService.h +++ b/src/mon/PaxosService.h @@ -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: /** -- 2.39.5