Project

General

Profile

Actions

Bug #59114

open

osd: Unsupported rollback case

Added by Matan Breizman about 1 year ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Snapshots
Target version:
-
% Done:

0%

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

Description

The current implementation will not behave correctly for a rados operation consisting of a mutation followed by a rollback to a snapshot since the last mutation of the object.
The correct behavior would be for the rollback to undo the mutation earlier in the operation by resolving to the clone created at the start of the operation
(see PrimaryLogPG::find_object_context).
Instead, it will select HEAD leaving that mutation intact since the SnapSet won't yet contain that clone. This behavior exists in Crimson as well.

A test scenario is added to cover this case, see LibRadosSnapshotsSelfManagedPP.WriteRollback
The test will remain disabled until this case is supported.
AFAIK, no clients make use of this kind of transaction. Therefore, this tracker is marked as low priority and is created for future reference.

No data to display

Actions

Also available in: Atom PDF