]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/ReplicatedPG: mark_unrollbackable when _rollback_to head 1579/head
authorSage Weil <sage@inktank.com>
Tue, 1 Apr 2014 21:27:31 +0000 (14:27 -0700)
committerSage Weil <sage@inktank.com>
Tue, 1 Apr 2014 21:27:31 +0000 (14:27 -0700)
commitd4d39a01ca0da2292595d95e89f738f47431b174
tree753d1aae8a45f79d1fcecc08125df24c0a20a0a7
parent87b08b23c3b5f72e49ebe51730f8ccd289321076
osd/ReplicatedPG: mark_unrollbackable when _rollback_to head

We fell into the case in _rollback_to where we just set ctx->modify = true
and don't explicitly mark the ctx and unrollbackable.  Later, we screw up
in proc_replica_log as a result because we think we can rollback this
update to the head when in reality we cannot.

Fixes: #7907
Signed-off-by: Sage Weil <sage@inktank.com>
src/osd/ReplicatedPG.cc