]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: amend the comment of WRITE -> REFRESH transition 18617/head
authorKefu Chai <kchai@redhat.com>
Mon, 30 Oct 2017 06:36:24 +0000 (14:36 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 6 Nov 2017 04:12:43 +0000 (12:12 +0800)
commitc5cf108467a4fdf119d1203a3402fd5a5e5c1782
treefc0856536701bd07f3bc30d6e4fe49b0cfcb4ec5
parent7489d0e6b55def2a3740f2a128a59bb226530c4e
mon: amend the comment of WRITE -> REFRESH transition

set the paxos's state to STATE_REFRESH avoid doing store->flush() while
we are in the async completion thread. this causes dead lock.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/mon/Paxos.cc