Project

General

Profile

Actions

Bug #24744

open

rgw: index wrongly deleted when put raced with list

Added by Tianshan Qu almost 6 years ago. Updated almost 3 years ago.

Status:
Fix Under Review
Priority:
Normal
Target version:
% Done:

0%

Source:
Tags:
Backport:
octopus, pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

like the issue http://tracker.ceph.com/issues/22555 , a special sequence can cause this new situation.

IO sequence:
1.put index prepare
2.list, get stale index
3.check_disk_state, find the head obj not exist
4.write head obj
5.index complete
6.aio_operate dir_suggest_changes CEPH_RGW_REMOVE

step 6 will delete the index


Files

ceph_repro.py (5.61 KB) ceph_repro.py Joseph Victor, 06/21/2021 08:35 PM
Actions

Also available in: Atom PDF