Bug #11851
closedCivetweb RGW appears to report full size of object as downloaded when only partially downloaded
0%
Description
Looking at the radosgw-admin usage show get_obj bytes_sent output for a user with 500MB to ~1.1GB objects being streamed or partially downloaded, the Civetweb RGW appears to be recording that the entire size of an object has been sent for every single request, even where it's clear from logs that the connection was aborted mid-download. This results in usage numbers orders of magnitude over true usage. This has been observed on Firefly.
Updated by Sage Weil almost 9 years ago
- Priority changed from Normal to Urgent
- Source changed from other to Community (user)
- Backport set to hammer, firefly
Updated by Yehuda Sadeh almost 9 years ago
Can this be reproduced with a more concrete info? Looking at the code I don't think we report the full object size for partial upload. What might be happening is that civetweb is buffering a lot so we end up overreporting if nothing went on the wire, but this is just a guess.
Updated by Yehuda Sadeh almost 9 years ago
- Status changed from New to Fix Under Review
- Assignee set to Orit Wasserman
Updated by Yehuda Sadeh almost 9 years ago
- Status changed from Fix Under Review to Pending Backport
- Assignee changed from Orit Wasserman to Loïc Dachary
Updated by Loïc Dachary almost 9 years ago
- Assignee changed from Loïc Dachary to Orit Wasserman
Updated by Abhishek Lekshmanan almost 9 years ago
Master PR: https://github.com/ceph/ceph/pull/5081
Updated by Abhishek Lekshmanan almost 9 years ago
hammer backport: https://github.com/ceph/ceph/pull/5231
Updated by Yehuda Sadeh over 8 years ago
- Status changed from Pending Backport to Resolved