Project

General

Profile

Actions

Bug #1286

closed

atomic write not working for large files

Added by Steven Berler almost 13 years ago. Updated over 6 years ago.

Status:
Rejected
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

steps to reproduce:
  • write a large file (4+ MB) of all A's
  • start overwriting the file with all B's
  • before overwrite is complete, download the file

currently:
The downloaded file contains a mix of A's and B's

desired behavior:
The downloaded file should either contain all A's or all B's but not a mix (which one depends on if the download happens before or after the overwrite completes)

see unit tests test_atomic_write_1mb, test_atomic_write_4mb, and test_atomic_write_8mb
These unit tests do work on amazon, but not rgw currently (the _1mb test does work on rgw now though).

Actions #1

Updated by Sage Weil almost 13 years ago

  • Target version set to v0.32
Actions #2

Updated by Yehuda Sadeh almost 13 years ago

Looking at the logs, atomic writes are ok, however, the reads are not atomic.

Actions #3

Updated by Yehuda Sadeh almost 13 years ago

  • Status changed from New to Rejected

The test wasn't really doing what it was supposed to do, and effectively tested the atomic reads, which is a different issue. I opened another issue for that, closing this one.

Actions #4

Updated by John Spray over 6 years ago

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

Bulk reassign of radosgw category to RGW project.

Actions

Also available in: Atom PDF