]> 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)
committerYuval Lifshitz <ylifshit@ibm.com>
Thu, 30 Oct 2025 08:03:26 +0000 (08:03 +0000)
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
src/rgw/rgw_bucket_logging.cc
src/rgw/rgw_bucket_logging.h

index 23873957e760924b6485fbb3dd5998b4e628ae33..39bb78b498c01908ce9de66af8a84d8ada2e5d42 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 872aa8f548dc3f3f458287004ca1106866313f1f..58a6f2902723dcc1fc2e5795d14f5d825ef5692d 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