]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ReplicatedPG: writeout hit_set object with correct prior_version
authorSamuel Just <sam.just@inktank.com>
Thu, 23 Oct 2014 16:11:28 +0000 (09:11 -0700)
committerSamuel Just <sam.just@inktank.com>
Thu, 30 Oct 2014 20:42:49 +0000 (13:42 -0700)
Fixes: #9875
Backport: giant, firefly
Signed-off-by: Samuel Just <sam.just@inktank.com>
(cherry picked from commit 1a3ad307f1a4c0a956d6fd31d13f01ffe411a09d)

src/osd/ReplicatedPG.cc

index 1cf04727b15167d3d6bfcecac90f980006c83f9e..85b9cf424cc87eb47c3d55a0bc4c27bd20e42aa9 100644 (file)
@@ -10956,7 +10956,7 @@ void ReplicatedPG::hit_set_persist()
       pg_log_entry_t::MODIFY,
       oid,
       ctx->at_version,
-      ctx->obs->oi.version,
+      eversion_t(),
       0,
       osd_reqid_t(),
       ctx->mtime)