]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: user stats showing 0 value for "size_utilized" and "size_kb_utilized" fields 44172/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:10:29 +0000 (15:10 -0500)
commitdf439a849c5be3ac09644f11d8ab8f54c67b6ff6
treea11badd18f5e998279008b4cfb8700ff82f463f8
parentfe63bec3382a149b52666f29358580c48ad8772b
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 interface for rgw user and rados store
src/rgw/rgw_admin.cc
src/rgw/rgw_common.h
src/rgw/rgw_json_enc.cc