Project

General

Profile

Actions

Feature #1956

closed

rgw: revisit atomic GET/PUT

Added by Yehuda Sadeh about 12 years ago. Updated about 12 years ago.

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

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

Discuss the following different options to simplify the process:

1. Instead of writing tmp object and then clone it to the head object, we'll write the shadow object and just clone the first chunk to the head object. Every read will first go to the head object and continue with the shadow.
2. Similar to 1, just that we don't write the first chunk to the shadow object, instead we write it only to the head object at the end of the write.

Both options will allow us to remove the relatively complicated race protection code that we have now, no need for retries, etc.


Related issues 1 (0 open1 closed)

Related to rgw - Bug #2120: rgw: atomic write guard doesn't scale wellResolved02/28/2012

Actions
Actions #1

Updated by Yehuda Sadeh about 12 years ago

  • Tracker changed from Tasks to Feature
Actions #2

Updated by Sage Weil about 12 years ago

  • Target version set to v0.44
  • Translation missing: en.field_position set to 1
  • Translation missing: en.field_position changed from 1 to 1163
Actions #3

Updated by Sage Weil about 12 years ago

  • Status changed from New to Resolved
  • Translation missing: en.field_story_points set to 0
  • Translation missing: en.field_position deleted (1166)
  • Translation missing: en.field_position set to 1165
Actions

Also available in: Atom PDF