]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rgw: internal api cleanup
authorYehuda Sadeh <yehuda@redhat.com>
Wed, 24 May 2017 23:54:30 +0000 (16:54 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Mon, 5 Jun 2017 20:17:54 +0000 (13:17 -0700)
rename method, minor change

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_reshard.cc
src/rgw/rgw_reshard.h

index 7a5c3b2b411e7afc8b7e42eb01a821fed7420ad9..d607e61a27f0a7e92e17551d9f35f4807446d357 100644 (file)
@@ -756,7 +756,7 @@ void  RGWReshard::get_logshard_oid(int shard_num, string *logshard)
   *logshard =  objname + buf;
 }
 
-int RGWReshard::inspect_all_logshards()
+int RGWReshard::process_all_logshards()
 {
   int ret = 0;
 
@@ -802,7 +802,7 @@ void *RGWReshard::ReshardWorker::entry() {
   do {
     utime_t start = ceph_clock_now();
     ldout(cct, 2) << "object expiration: start" << dendl;
-    if (reshard->inspect_all_logshards()) {
+    if (reshard->process_all_logshards()) {
       /* All shards have been processed properly. Next time we can start
        * from this moment. */
       last_run = start;
index d7365810c88b8f2e4f89853601f8b4b78c2b4f30..8c1b393050c3cbe4dcf6841fc4a6d3aba5f3fd29 100644 (file)
@@ -120,7 +120,7 @@ public:
 
   /* reshard thread */
   int process_single_logshard(int logshard_num);
-  int inspect_all_logshards();
+  int process_all_logshards();
   bool going_down();
   void start_processor();
   void stop_processor();