Project

General

Profile

Feature #1956

rgw: revisit atomic GET/PUT

Added by Yehuda Sadeh almost 12 years ago. Updated over 11 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

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

History

#1 Updated by Yehuda Sadeh over 11 years ago

  • Tracker changed from Tasks to Feature

#2 Updated by Sage Weil over 11 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

#3 Updated by Sage Weil over 11 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

Also available in: Atom PDF