]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix user stats iterative increment 36542/head
authorMark Kogan <mkogan@redhat.com>
Mon, 10 Aug 2020 10:19:19 +0000 (13:19 +0300)
committerMark Kogan <mkogan@redhat.com>
Mon, 10 Aug 2020 10:19:19 +0000 (13:19 +0300)
commit21e877ca67db7840026b1768751b167e2c0a53da
tree641b6decc3d287d12271611d5863488e6b8986bb
parent6a715f6cd4ba9cf91e9f4a092132abb1297f39c9
rgw: fix user stats iterative increment

The RGWBucketCtl::sync_user_stats() function can increment or reset the
stats [1][2]

[1]https://github.com/ceph/ceph/blob/master/src/rgw/rgw_bucket.cc#L3745
[2]https://github.com/ceph/ceph/blob/master/src/rgw/services/svc_bi_rados.cc#L379-L381

fixes: https://tracker.ceph.com/issues/46400

Signed-off-by: Mark Kogan <mkogan@redhat.com>
src/rgw/rgw_sal.cc