Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rgw: set object accounted size correctly #14950

Merged
merged 1 commit into from Jun 8, 2017

Commits on May 25, 2017

  1. rgw: set object accounted size correctly

    sometimes, object accounted size is set wrong,
    because we don't konw the object size if don't resort to the compression info or manifest.
    e.g, when i use s3cmd do copy object(bucket_A/obj_A -> bucket_B/obj_B, assume the size of obj_A is 4M).
    then i use s3cmd do list bucket, I got obj_B size is 512K, it is the head size apparently.
    
    Fixes: http://tracker.ceph.com/issues/20071
    
    Signed-off-by: fang yuxiang <fang.yuxiang@eisoo.com>
    fangyuxiangGL committed May 25, 2017
    Copy the full SHA
    539985a View commit details
    Browse the repository at this point in the history