]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: Paxos: reset accept timeout before submiting work to the store 4074/head
authorJoao Eduardo Luis <joao@redhat.com>
Wed, 10 Dec 2014 17:46:35 +0000 (17:46 +0000)
committerLoic Dachary <ldachary@redhat.com>
Wed, 18 Mar 2015 22:23:56 +0000 (23:23 +0100)
commitb79852f3ab0643bbb3f6b71a56b15e5a4b5fc1f5
treeb5431f0ad19d838da2767b69f39f01185c12dc9f
parente997c9fed5feb3e877dfe07ffac1327b85d09ea2
mon: Paxos: reset accept timeout before submiting work to the store

Otherwise we may trigger the timeout while waiting for the work to be
committed to the store -- and it would only take the write to take a bit
longer than 10 seconds (default accept timeout).

We do wait for the work to be properly committed to the store before
extending the lease though.

Fixes: #10220
Signed-off-by: Joao Eduardo Luis <joao@redhat.com>
(cherry picked from commit 18534615f184ba56b441fd1d4242eb06debdfe13)
src/mon/Paxos.cc