Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
rgw: Added code to correctly account for bytes sent/ received during a 'PUT' operation. #14042
On master, once a bucket is created and a file is uploaded to the bucket, then running radosgw-admin usage show --uid=test, shows both bytes/ sent received set to zero, whereas a download of the same file, shows the correct number of bytes sent.
swift -A http://localhost:80/auth/1.0 -U test:tester -K testing upload container1 out1.txt
After putting in the fix, the bytes-received after a 'PUT' operation, is set correctly.