]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
messages/MPGStats: do not set paxos version to osdmap epoch
authorSage Weil <sage@inktank.com>
Wed, 10 Jul 2013 17:06:20 +0000 (10:06 -0700)
committerSage Weil <sage@inktank.com>
Wed, 10 Jul 2013 17:19:38 +0000 (10:19 -0700)
commitb36338be43f43b6dd4ee87c97f2eaa23b467c386
tree96cf8ca7c4b4e3bf6712b1dba455e266922effb9
parentc124aa09ee3f3b43bd11862d49f7b455bc9d6eac
messages/MPGStats: do not set paxos version to osdmap epoch

The PaxosServiceMessage version field is meant for client-coordinated
ordering of messages when switching between monitors (and is rarely
used).  Do not fill it with the osdmap epoch lest it be compared to a
pgmap version, which may cause the mon to (near) indefinitely put it on
a wait queue until the pgmap version catches up.

Backport: cuttlefish
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
src/messages/MPGStats.h