Bug 1519159

Summary: rgw: user stats increased after bucket reshard
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Orit Wasserman <owasserm>
Component: RGWAssignee: Orit Wasserman <owasserm>
Status: CLOSED ERRATA QA Contact: Vidushi Mishra <vimishra>
Severity: low Docs Contact:
Priority: low    
Version: 3.0CC: anharris, asriram, cbodley, ceph-eng-bugs, hnallurv, kbader, kdreyer, mbenjamin, owasserm, sweil, tchandra
Target Milestone: rcKeywords: TestOnly
Target Release: 3.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: RHEL: ceph-12.2.4-6.el7cp Ubuntu: ceph_12.2.4-7redhat1xenial Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-26 18:16:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Orit Wasserman 2017-11-30 10:24:42 UTC
Description of problem:

after calling 

./bin/radosgw-admin bucket reshard --num-shards=10 --bucket=xxx

User stats increases like after adding another same bucket with data.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Create a bucket xxx with some object
2. get user stats: ./bin/radosgw-admin user stats --sync-stats --uid <uid>
3. reshard the bucket: ./bin/radosgw-admin bucket reshard --num-shards=2 --bucket=xxx

Actual results:
users stats are double

Expected results:
user stats are not changed

Additional info:

Comment 13 errata-xmlrpc 2018-09-26 18:16:43 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:2819