Project

General

Profile

Actions

Bug #6268

closed

rgw: RGWPutObj calls processor->complete() before all inflight data is drained

Added by Yehuda Sadeh over 10 years ago. Updated over 10 years ago.

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

0%

Source:
other
Tags:
Backport:
bobtail, cuttlefish, dumpling
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

This is problematic because we have ordering issue here. We end up updating the head before flushing all data is done. So we might end up with corrupted objects in case the gateway dies. The same goes to multipart upload.

I think the best solution is to have do_complete() drain the data directly.

Actions

Also available in: Atom PDF