]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: ignore crushtool validation if too long 3822/head
authorLoic Dachary <ldachary@redhat.com>
Wed, 25 Feb 2015 14:32:50 +0000 (15:32 +0100)
committerLoic Dachary <ldachary@redhat.com>
Tue, 3 Mar 2015 01:13:27 +0000 (02:13 +0100)
commit1e3f81486940ceddc6aa110dc878a2810538e4c6
tree036bfca3384f7d7b4b30d48f2c0032e4aa5208af
parent7a5a635ffb9241511f706b04de1a42b2eb7533c5
mon: ignore crushtool validation if too long

The crushtool is aborted if it takes more than mon lease seconds. Since
the monitor blocks while running it, this is mandatory otherwise the
monitor will be considered down and new elections triggered.

http://tracker.ceph.com/issues/10947 Fixes: #10947

Signed-off-by: Loic Dachary <ldachary@redhat.com>
qa/workunits/cephtool/test.sh
src/crush/CrushTester.cc
src/crush/CrushTester.h
src/mon/OSDMonitor.cc