8 Commits

Author SHA1 Message Date
Jeff Mitchell
9a980d34c7
Fix leader info repopulation (#6167)
* Two things:

* Change how we populate and clear leader UUID. This fixes a case where
if a standby disconnects from an active node and reconnects, without the
active node restarting, the UUID doesn't change so triggers on a new
active node don't get run.

* Add a bunch of test helpers and minor updates to things.
2019-02-05 21:01:18 -05:00
Josh Soref
e43b76ef97 Spelling (#4119) 2018-03-20 14:54:10 -04:00
Jeff Mitchell
c2cef877f4 Port over some changes 2017-11-30 09:43:07 -05:00
Jeff Mitchell
99a74e323d Use locks in a slice rather than a map, which is faster and makes things cleaner (#2446) 2017-03-07 11:21:32 -05:00
vishalnayak
7c743ecd0a Address review feedback 2016-08-30 16:36:58 -04:00
vishalnayak
583f22bfd3 Added test for CreateLocks 2016-07-20 05:37:38 -04:00
vishalnayak
119b4d51eb Added a cap of 256 for CreateLocks utility 2016-07-20 04:48:35 -04:00
vishalnayak
8e2baf2fef Added helper to create locks 2016-07-19 21:37:28 -04:00