Project

General

Profile

Feature #23129

After creating a snapshot of a rados pool when we try to rollback the pool it allows only specific object to rollback.

Added by Debashis Mondal about 6 years ago. Updated about 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Component(RADOS):
Pull request ID:

Description

Execution Steps:
------------------

1. Creating a pool # ceph osd pool create testpool 16 16
2. Add two objects in pool # rados -p testpool put myobject1 tmp.txt # rados -p testpool put myobject2 tmp.txt
3. Check the pool content # rados -p testpool ls
4. Create a snapshot of the pool # rados -p testpool mksnap testpool-snap
5. Remove two objects one by one from the pool # rados -p pooltest1 rm myobject1 # rados -p pooltest1 rm myobject2
6. Rollback the pool data from snapshot # rados p testpool rollback myobject1 testpool-snap
[Note :
Only mentioned object is roll backed from snapshot]

Observation
------------
Rados pool rollback has a feature to rollback entire pool from snapshot. But ,it only allows to rollback the specific object.
But if multiple objects are being deleted then rollback the pool data is complex. So there should be an option to rollback the entire pool from a certain point.

Solution:
----------
Code level investigation is necessary to enhance the feature and to propose other solutions. We are analyzing the code.

rados_pool_rollback.txt View (538 Bytes) Debashis Mondal, 02/26/2018 04:35 AM

History

#1 Updated by Debashis Mondal about 6 years ago

rados -p testpool rollback myobject1 testpool-snap

[Note :- Only mentioned object is roll backed from snapshot]

#2 Updated by Jason Dillaman about 6 years ago

  • Project changed from rbd to RADOS

Also available in: Atom PDF