Project

General

Profile

Actions

Bug #20107

closed

rgw: Truncated objects

Added by Jens Harbott almost 7 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
jewel, kraken, hammer
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

On a large cluster, we are seeing some objects being truncated at 512kb size. The behaviour when trying to access these objects looks like this:

$ s3cmd get s3://bucket/object
download: 's3://bucket/object' -> './object'  [1 of 1]
download: 's3://bucket/object' -> './object'  [1 of 1]
    4096 of 1204514     0% in    0s    64.67 kB/s
<-- 30 second delay happening here -->
  525194 of 1204514    43% in   30s    17.04 kB/s  failed
WARNING: Retrying failed request: /object (EOF from S3!)
WARNING: Waiting 3 sec...
download: 's3://bucket/object' -> './object'  [1 of 1]
ERROR: S3 error: 404 (Not Found)

If I interrupt the download, I can see the object having exactly 524288 bytes, corresponding to the head_size in the manifest. So it seems like the head object has been written correctly and can be read, but the next tail object has gone missing. If I check the rgw log, the PUT for that object has been finished successfully though, returning a 200 response.

The cluster is running version 0.94.10-1trusty on Ubuntu Trusty, has 388 osds, 494 TB data and about 1300 Mobjects. It is unclear how many objects are affected, we can see errors for about 100 per day.


Related issues 3 (0 open3 closed)

Copied to rgw - Backport #20717: hammer: rgw: Truncated objectsRejectedActions
Copied to rgw - Backport #20718: kraken: rgw: Truncated objectsRejectedActions
Copied to rgw - Backport #20719: jewel: rgw: Truncated objectsResolvedMatt BenjaminActions
Actions

Also available in: Atom PDF