Actions
Bug #50892
openrgw: In a multi-site environment, deleting the key from the bucket list operation will cause the object's key to be permanently lost.
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Description
In a multi-site synchronization environment, the bucket full sync process will send a bucket list request to the remote, but the remote execution of the bucket list operation is likely to delete the object key.
for example:
t1 object upload-start [rgw_bucket_dir_entry.exists =false] (put obj)
t2 list bucket opreate start find 'rgw_bucket_dir_entry.exists=false',and get_obj_state() return noevent. (list bucket)
t3 object upload-end ,[rgw_bucket_dir_entry.exists =true],(put obj)
t4 list bucket remove object key because t2.(list bucket)
You can add code like diff.txt to reproduce it.
Files
Updated by Casey Bodley over 2 years ago
- Status changed from New to Need More Info
- Pull request ID set to 41435
as commented on the PR, i believe rgw's current behavior is correct
Actions