]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: user stats showing 0 value for "size_utilized" and "size_kb_utilized" fields 44171/head
authorJ. Eric Ivancich <ivancich@redhat.com>
Wed, 28 Jul 2021 17:52:29 +0000 (13:52 -0400)
committerCory Snyder <csnyder@iland.com>
Wed, 1 Dec 2021 20:07:34 +0000 (15:07 -0500)
commit53529fb3fcbe909a0e5919bda4c3afb2157e6012
tree9bd03946fc8eb01b46217224547e4009a0c6331d
parent30b2a93bef566464130f74c87933dfe1d23a54cc
rgw: user stats showing 0 value for "size_utilized" and "size_kb_utilized" fields

When accumulating user stats, the "utilized" fields are not looked
at. Updates RGWStorageStats::dump so it only outputs the "utilized"
data if they're updated.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit 248fbce6b54f6c91e63b05861f8631ca64c8df81)

Conflicts:
src/rgw/rgw_admin.cc

Cherry-pick notes:
- conflicts due to change of interfaces for user and store
src/rgw/rgw_admin.cc
src/rgw/rgw_common.h
src/rgw/rgw_json_enc.cc