]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rgw: distinguish different get_usage for usage log
authorJiaying Ren <jiaying.ren@umcloud.com>
Thu, 14 Sep 2017 07:30:45 +0000 (15:30 +0800)
committerJiaying Ren <jiaying.ren@umcloud.com>
Wed, 21 Aug 2019 02:29:20 +0000 (10:29 +0800)
get_usage op via s3 endpoint are not the same as get_usage
via admin endpoint in the rgw usage log categories.

Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
src/rgw/rgw_op.h

index d9401d87677f25675d433d2b3f24b4cc00dd6096..9201470cdaa33a96dabc40ca03dc95f43fa5c1c5 100644 (file)
@@ -757,7 +757,7 @@ public:
 
   virtual bool should_get_stats() { return false; }
 
-  const char* name() const override { return "get_usage"; }
+  const char* name() const override { return "get_self_usage"; }
   uint32_t op_mask() override { return RGW_OP_TYPE_READ; }
 };