]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ReplicatedPG: fix snap_trimmer log version bug
authorSamuel Just <samuel.just@dreamhost.com>
Fri, 21 Jan 2011 21:01:20 +0000 (13:01 -0800)
committerSamuel Just <samuel.just@dreamhost.com>
Fri, 21 Jan 2011 22:30:43 +0000 (14:30 -0800)
commit785bf0fcbfb69efa8dd97340c8ee0079bb5ad55e
tree869b8dd645da5dc87a943c4044670f76a20bd1d3
parent3e4a82e559505b5a19d4a142b356cead973ffc55
ReplicatedPG: fix snap_trimmer log version bug

Previously, ctx->at_version would be the same as ctx->obs->oi.version
leading to the log entry having prior_version == version.
This bug was introduced in d1b85e06fb5ce1cfd5bbc74ba639811b92033909.

Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
src/osd/ReplicatedPG.cc