Project

General

Profile

Bug #11695

keyvaluestore: can not overwrite object after snapshot is created

Added by Xinxin Shu over 4 years ago. Updated over 2 years ago.

Status:
Won't Fix
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
05/21/2015
Due date:
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

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

History

#1 Updated by Sage Weil over 4 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

#2 Updated by Xinxin Shu over 4 years ago

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

#3 Updated by Xinxin Shu over 4 years ago

  • Assignee changed from Haomai Wang to Xinxin Shu

#4 Updated by Haomai Wang about 4 years ago

plz let me know if anything bother you :-)

#5 Updated by Sage Weil over 2 years ago

  • Status changed from New to Won't Fix

Also available in: Atom PDF