open-nomad/client/stats
Alex Dadgar 07ed83fdd5 Non-locked accessors to common Node fields
This PR removes locking around commonly accessed node attributes that do
not need to be locked. The locking could cause nodes to TTL as the
heartbeat code path was acquiring a lock that could be held for an
excessively long time. An example of this is when Vault is inaccessible,
since the fingerprint is run with a lock held but the Vault
fingerprinter makes the API calls with a large timeout.

Fixes https://github.com/hashicorp/nomad/issues/2689
2017-09-14 14:08:26 -07:00
..
cpu.go
cpu_test.go Fix invalid CPU stats on Windows 2017-09-10 15:30:48 -07:00
cpu_unix.go Fix invalid CPU stats on Windows 2017-09-10 15:30:48 -07:00
cpu_windows.go Fix invalid CPU stats on Windows 2017-09-10 15:30:48 -07:00
host.go Non-locked accessors to common Node fields 2017-09-14 14:08:26 -07:00
host_test.go client: Guard against "NaN" values from floats 2017-09-08 16:21:07 -05:00