Project

General

Profile

Actions

Bug #1408

closed

rgw: racing PUT to same object, can cause 404 on GET/PUT

Added by Yehuda Sadeh over 12 years ago. Updated over 6 years ago.

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

0%

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

Description

I think what happens is that:

The following operations happen concurrently around the same time:
(1) PUT obj
(2) PUT obj
(3) GET obj

When GET reads obj's metadata, it gets the shadow obj name for (1), while it reads the data it finds out that the object was replaced, trying to access the shadow obj, it can't find it. What happens is that (2) doesn't clone (1) to its shadow for some reason.

Actions

Also available in: Atom PDF