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 #1

Updated by Sage Weil almost 9 years ago

  • Subject changed from can not overwrite object after snapshot is created to keyvaluestore: can not overwrite object after snapshot is created
  • Assignee set to Haomai Wang
Actions #2

Updated by Xinxin Shu almost 9 years ago

i have started work on this bug, but i forget assign this bug to myself

Actions #3

Updated by Xinxin Shu almost 9 years ago

  • Assignee changed from Haomai Wang to Xinxin Shu
Actions #4

Updated by Haomai Wang over 8 years ago

plz let me know if anything bother you :-)

Actions #5

Updated by Sage Weil about 7 years ago

  • Status changed from New to Won't Fix
Actions

Also available in: Atom PDF