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 #1

Updated by Yehuda Sadeh over 10 years ago

  • Backport set to bobtail, cuttlefish, dumpling
Actions #2

Updated by Ian Colle over 10 years ago

  • Status changed from New to Fix Under Review
Actions #3

Updated by Yehuda Sadeh over 10 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #4

Updated by Yehuda Sadeh over 10 years ago

  • Status changed from Pending Backport to Resolved

backported to bobtail, cuttlefish, dumpling.

Actions

Also available in: Atom PDF