Jeff Mitchell e1a89e0d55
Some atomic cleanup (#4732)
Taking inspiration from
https://github.com/golang/go/issues/17604#issuecomment-256384471
suggests that taking the address of a stack variable for use in atomics
works (at least, the race detector doesn't complain) but is doing it
wrong.

The only other change is a change in Leader() detecting if HA is enabled
to fast-path out. This value never changes after NewCore, so we don't
need to grab the read lock to check it.
2018-06-09 15:35:22 -04:00
..
2018-06-09 15:35:22 -04:00
2018-06-05 18:53:27 -04:00
2017-10-23 16:43:07 -04:00
2018-04-03 12:20:20 -04:00
2017-10-23 16:43:07 -04:00
2018-06-05 18:53:27 -04:00
2018-06-08 17:24:27 -04:00
2017-11-13 15:31:32 -05:00