Fixing race conditions in the code base (#5966)

* Adding initial race detector

* Remove setting of config twice

* Fixing config file watch and config reload on license save

* Fixing config file watch and config reload on license save

* Fixing build error

* Fixing locking issue

* Fixing makefile

* Fixing race in config

* Fixing race in status unit test

* Adding EE race tests

* Fixing race in cluster info

* Removing code that's isn't needed

* Fixing some more races

* Fixing govet issue
This commit is contained in:
Corey Hulen
2017-04-04 11:42:07 -07:00
committed by Harrison Healey
parent 32460bf63b
commit 6bf080393d
26 changed files with 1438 additions and 207 deletions

View File

@@ -79,7 +79,7 @@ export default class ClusterTable extends React.Component {
clusterInfo.id = Utils.localizeMessage('admin.cluster.unknown', 'unknown');
}
if (clusterInfo.is_alive) {
if (clusterInfo.is_alive > 0) {
status = (
<img
className='cluster-status'