]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ReplicatedPG: reset new_obs and new_snapset in execute_ctx
authorSamuel Just <sam.just@inktank.com>
Fri, 25 Oct 2013 01:52:59 +0000 (18:52 -0700)
committerSamuel Just <sam.just@inktank.com>
Mon, 28 Oct 2013 20:30:42 +0000 (13:30 -0700)
commitc4442d70ed75690be1ed73d4931fbbdae9dfa92e
tree570a82b79e5dfde0b7c0e365f12389ad5e371204
parent5eb836f23a7358a11fc395a74fb48dd1fa615ceb
ReplicatedPG: reset new_obs and new_snapset in execute_ctx

This way, if execute_ctx is rerun on the same OpContext, we
won't erroneously reuse a stale snapset/object_info.

Signed-off-by: Samuel Just <sam.just@inktank.com>
src/osd/ReplicatedPG.cc
src/osd/ReplicatedPG.h