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

Updated by Sage Weil over 12 years ago

  • Target version set to v0.35
  • Translation missing: en.field_position set to 17
Actions #2

Updated by Sage Weil over 12 years ago

  • Translation missing: en.field_position deleted (15)
  • Translation missing: en.field_position set to 8
Actions #3

Updated by Sage Weil over 12 years ago

  • Subject changed from racing PUT to same object, can cause 404 on GET/PUT to rgw: racing PUT to same object, can cause 404 on GET/PUT
  • Translation missing: en.field_position deleted (19)
  • Translation missing: en.field_position set to 19
Actions #4

Updated by Yehuda Sadeh over 12 years ago

  • Status changed from New to Resolved

moving this to resolve for now. There were a few issues that were solved, and currently can't reproduce.

Actions #5

Updated by John Spray over 6 years ago

  • Project changed from Ceph to rgw
  • Category deleted (22)
  • Target version deleted (v0.35)

Bulk reassign of radosgw category to RGW project.

Actions

Also available in: Atom PDF