Project

General

Profile

Feature #12740

ceph-objetstore-tool: add operations to remove clone ids from a head or snapdir

Added by Samuel Just over 8 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
David Zafman
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
hammer
Reviewed:
Affected Versions:
Pull request ID:

Description

Sometimes, various kinds of on disk corruption can result in a head/snapdir believing that a clone exists which actually does not. It would be good to create a ceph-objectstore-tool op to allow us to remove it from the metadata on the head object.

ceph-objectstore-tool --op remove-clone-metadata --clone <cloneid> --pgid <pgid> --object <oid> ...


Related issues

Copied to Ceph - Backport #14076: hammer: ceph-objetstore-tool: add operations to remove clone ids from a head or snapdir Resolved

Associated revisions

Revision c6d283f0 (diff)
Added by David Zafman over 8 years ago

ceph-objectstore-tool: Add new remove-clone-metadata object op

Fixes: #12740

Signed-off-by: David Zafman <>

Revision e92505be (diff)
Added by David Zafman about 8 years ago

ceph-objectstore-tool: Add new remove-clone-metadata object op

Fixes: #12740

Signed-off-by: David Zafman <>
(cherry picked from commit c6d283f0f16347a13418d8a0ed136913e1161893)

No Sequencer in transactions in Hammer

History

#1 Updated by David Zafman over 8 years ago

  • Status changed from New to In Progress

The format would look like this to match other object operations:

ceph-objectstore-tool ... <object> remove-clone-metadata <cloneid>

#2 Updated by David Zafman over 8 years ago

  • Assignee set to David Zafman

#3 Updated by Igor Voloshanenko over 8 years ago

Hi @David, any progress on this?
do you need any help?

#4 Updated by David Zafman over 8 years ago

  • Status changed from In Progress to Fix Under Review

Part of pull request # 5783

0ac3dbb7ad2eedf570c56afa8fda327b78492388

#5 Updated by David Zafman over 8 years ago

  • Status changed from Fix Under Review to Resolved

c6d283f0f16347a13418d8a0ed136913e1161893

#6 Updated by Ken Dreyer over 8 years ago

  • Backport changed from hammer, firefly to hammer

#7 Updated by Samuel Just over 8 years ago

  • Status changed from Resolved to Pending Backport
  • Target version deleted (v9.0.8)

#8 Updated by Loïc Dachary over 8 years ago

  • Copied to Backport #14076: hammer: ceph-objetstore-tool: add operations to remove clone ids from a head or snapdir added

#9 Updated by Loïc Dachary about 8 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF