KUDU-2335. Work around rare consensus health bug for 1.7 release
authorMike Percy <mpercy@apache.org>
Tue, 13 Mar 2018 01:04:15 +0000 (18:04 -0700)
committerMike Percy <mpercy@apache.org>
Tue, 13 Mar 2018 05:42:45 +0000 (05:42 +0000)
commit287dc540848561f6fc043e7bb810f44f94d4b419
tree86ffe6400046502d2af853392b4843f8ecaa9ac9
parent9749d4cde4c475783b0e936d641749b3394c5aad
KUDU-2335. Work around rare consensus health bug for 1.7 release

In very rare circumstances we have hit a DHCECK in quorum_util.cc in
pre-commit builds stating that the leader should always have a HEALTHY
health status. We have traced this to points in the replica lifecycle
when the health status could be UNKNOWN.

Since we want to release 1.7.0 soon, let's work around this issue for
now. We'll follow up with a "real" fix and a decent test later.

Change-Id: Iad67c7943a5b619ef2fa3a67c92cc033e207e197
Reviewed-on: http://gerrit.cloudera.org:8080/9597
Reviewed-by: Alexey Serbin <aserbin@cloudera.com>
Tested-by: Mike Percy <mpercy@apache.org>
src/kudu/consensus/quorum_util.cc