]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: remove get_bound_info from RGWReplicaLogger
authorGreg Farnum <greg@inktank.com>
Mon, 1 Jul 2013 20:57:17 +0000 (13:57 -0700)
committerYehuda Sadeh <yehuda@inktank.com>
Tue, 2 Jul 2013 19:39:12 +0000 (12:39 -0700)
It doesn't have any users and we're about to expose a wrapper class instead.

Signed-off-by: Greg Farnum <greg@inktank.com>
src/rgw/rgw_replica_log.cc
src/rgw/rgw_replica_log.h

index 6d12b1e9ea17405b0d9c377b4d527fab0e8e42c1..6ea9beb39b7b255625936e9bd364c0ad5dab267e 100644 (file)
@@ -72,14 +72,6 @@ int RGWReplicaLogger::get_bounds(const string& oid, const string& pool,
   return cls_replica_log_get_bounds(ioctx, oid, marker, oldest_time, markers);
 }
 
-void RGWReplicaLogger::get_bound_info(
-    const cls_replica_log_progress_marker& progress,
-    string& entity, string& marker,
-    utime_t time,
-    list<pair<string, utime_t> >& entries) {
-  cls_replica_log_extract_marker(progress, entity, marker, time, entries);
-}
-
 RGWReplicaObjectLogger::
 RGWReplicaObjectLogger(RGWRados *_store,
                        const string& _pool,
index 131a7efa98ad88d2349c086e2fe9ca76dd512bc6..fcdf9f2c2e085c817cedb1adad0780a432576ed3 100644 (file)
@@ -42,12 +42,6 @@ protected:
   int get_bounds(const string& oid, const string& pool,
                  string& marker, utime_t& oldest_time,
                  list<cls_replica_log_progress_marker>& markers);
-
-public:
-  static void get_bound_info(const cls_replica_log_progress_marker& progress,
-                             string& entity, string& marker,
-                             utime_t time,
-                             list<pair<string, utime_t> >& entries);
 };
 
 class RGWReplicaObjectLogger : private RGWReplicaLogger {