Actions
Bug #1286
closedatomic write not working for large files
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