From: Greg Farnum Date: Mon, 1 Jul 2013 20:57:17 +0000 (-0700) Subject: rgw: remove get_bound_info from RGWReplicaLogger X-Git-Tag: v0.67-rc1~128^2~18^2~9 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=370d1752ed234d42419f3d2b0e49f7107434d254;p=ceph.git rgw: remove get_bound_info from RGWReplicaLogger It doesn't have any users and we're about to expose a wrapper class instead. Signed-off-by: Greg Farnum --- diff --git a/src/rgw/rgw_replica_log.cc b/src/rgw/rgw_replica_log.cc index 6d12b1e9ea17..6ea9beb39b7b 100644 --- a/src/rgw/rgw_replica_log.cc +++ b/src/rgw/rgw_replica_log.cc @@ -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 >& entries) { - cls_replica_log_extract_marker(progress, entity, marker, time, entries); -} - RGWReplicaObjectLogger:: RGWReplicaObjectLogger(RGWRados *_store, const string& _pool, diff --git a/src/rgw/rgw_replica_log.h b/src/rgw/rgw_replica_log.h index 131a7efa98ad..fcdf9f2c2e08 100644 --- a/src/rgw/rgw_replica_log.h +++ b/src/rgw/rgw_replica_log.h @@ -42,12 +42,6 @@ protected: int get_bounds(const string& oid, const string& pool, string& marker, utime_t& oldest_time, list& markers); - -public: - static void get_bound_info(const cls_replica_log_progress_marker& progress, - string& entity, string& marker, - utime_t time, - list >& entries); }; class RGWReplicaObjectLogger : private RGWReplicaLogger {