Project

General

Profile

Actions

Bug #11695

closed

keyvaluestore: can not overwrite object after snapshot is created

Added by Xinxin Shu almost 9 years ago. Updated about 7 years ago.

Status:
Won't Fix
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

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

Description

recently i build a setup with key-value db back, but after snapshot is created, i overwrite one object, then OSD daemon is corrupt, I track down this issue , in KeyValueStore.cc

if (exist_clone) {
dout(0) << "BUG: clone failed will lead to paritial transaction applied" << dendl;
}

It seem that KeyValueStore::_clone do not implement this semantic as filestore does, you can reproduce this error with following commands

1. rbd -p rbd --new-format --size 10240 create test
2. write data to rbd
3. rbd snap create rbd/test@snap
4. overwrite previous object

Actions

Also available in: Atom PDF