mirror of
https://github.com/ceph/ceph
synced 2024-12-17 17:05:42 +00:00
Merge pull request #1579 from ceph/wip-7907
osd/ReplicatedPG: mark_unrollbackable when _rollback_to head Reviewed-by: Samuel Just <sam.just@inktank.com>
This commit is contained in:
commit
d6258b63e5
@ -5096,6 +5096,9 @@ void ReplicatedPG::finish_ctx(OpContext *ctx, int log_op_type)
|
||||
changing.insert(OI_ATTR);
|
||||
changing.insert(SS_ATTR);
|
||||
ctx->obc->fill_in_setattrs(changing, &(ctx->mod_desc));
|
||||
} else {
|
||||
// replicated pools are never rollbackable in this case
|
||||
ctx->mod_desc.mark_unrollbackable();
|
||||
}
|
||||
} else {
|
||||
dout(10) << " no snapset (this is a clone)" << dendl;
|
||||
|
Loading…
Reference in New Issue
Block a user