]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: fix bad user stats on versioned bucket after reshard
authorJ. Eric Ivancich <ivancich@redhat.com>
Tue, 4 Dec 2018 22:43:38 +0000 (17:43 -0500)
committerJ. Eric Ivancich <ivancich@redhat.com>
Wed, 5 Dec 2018 18:26:47 +0000 (13:26 -0500)
commit8cd7ff99dd6cb7b3d63b80e09c8a2f229445e0a1
treef3c1dad1fed8d495f496c266c6907ce6980e1f6e
parent241896c66036d1ce7999d8999209e91a804b3279
rgw: fix bad user stats on versioned bucket after reshard

User stats should only count bucket index entries that refer to actual
data. So only count entries with categories MAIN or MULTIMETA.

Note: the full solution is provided by the combination of the fixes in
PR 25333 (https://github.com/ceph/ceph/pull/25333) and these changes.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
src/rgw/rgw_rados.cc