]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rgw/logging: removed unused APIs from header
authorYuval Lifshitz <ylifshit@ibm.com>
Thu, 30 Oct 2025 08:03:26 +0000 (08:03 +0000)
committerN Balachandran <nithya.balachandran@ibm.com>
Fri, 2 Jan 2026 06:05:48 +0000 (11:35 +0530)
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
(cherry picked from commit f92765ee0fb8135abb07f9cbbcf837305b4487f7)

src/rgw/rgw_bucket_logging.cc
src/rgw/rgw_bucket_logging.h

index 4fceb849dec7b59eaa722d255fe8c34826033ff9..9e898181003323de7842a0d7f19e825693e132f7 100644 (file)
@@ -328,14 +328,6 @@ int commit_logging_object(const configuration& conf,
       << ret << dendl;
     return ret;
   }
-  return commit_logging_object(conf, target_bucket, dpp, y, last_committed);
-}
-
-int commit_logging_object(const configuration& conf,
-    const std::unique_ptr<rgw::sal::Bucket>& target_bucket,
-    const DoutPrefixProvider *dpp,
-    optional_yield y,
-    std::string* last_committed) {
   std::string obj_name;
   if (const int ret = target_bucket->get_logging_object_name(obj_name, conf.target_prefix, y, dpp, nullptr); ret < 0) {
     ldpp_dout(dpp, 1) << "ERROR: failed to get name of logging object of logging bucket '" <<
index d95a386db89718da5b4754390a031e37ea7fa2bb..9f010e873c73212b5d660386a02e2e79531a21b9 100644 (file)
@@ -186,27 +186,6 @@ int rollover_logging_object(const configuration& conf,
     std::string* last_committed,
     std::string* err_message = nullptr);
 
-// commit the pending log object to the log bucket
-// use this for cleanup, when new pending object is not needed
-// and target bucket is known
-// if "last_committed" is not null, it will be set to the name of the last committed object
-int commit_logging_object(const configuration& conf,
-    const std::unique_ptr<rgw::sal::Bucket>& target_bucket,
-    const DoutPrefixProvider *dpp,
-    optional_yield y,
-    std::string* last_committed);
-
-// commit the pending log object to the log bucket
-// use this for cleanup, when new pending object is not needed
-// and target bucket shoud be loaded based on the configuration
-// if "last_committed" is not null, it will be set to the name of the last committed object
-int commit_logging_object(const configuration& conf,
-    const DoutPrefixProvider *dpp,
-    rgw::sal::Driver* driver,
-    const std::string& tenant_name,
-    optional_yield y,
-    std::string* last_committed);
-
 // return the oid of the object holding the name of the temporary logging object
 // bucket - log bucket
 // prefix - logging prefix from configuration. should be used when multiple buckets log into the same log bucket