4949488217
Before this change trying to run `nomad operator raft {info,logs}` on an inuse raft.db would cause the command to block until the agent using raft.db is closed. After this change the command will block for 1s before returning a (hopefully) helpful error message. This change also sets the ReadOnly mode on the underlying BoltDb to ensure diagnostics make no changes to the underlying store. We have no evidence this has ever occurred, but it seems like a useful safety measure. No changelog added since this is a minor tweak in a "new" feature (it was hidden in previous relases). |
||
---|---|---|
.. | ||
args | ||
boltdd | ||
codec | ||
constraints/semver | ||
discover | ||
envoy | ||
escapingio | ||
exptime | ||
fields | ||
flags | ||
flatmap | ||
freeport | ||
gated-writer | ||
grpc-middleware/logging | ||
logging | ||
mount | ||
noxssrw | ||
pluginutils | ||
pool | ||
raftutil | ||
snapshot | ||
stats | ||
testlog | ||
testtask | ||
tlsutil | ||
useragent | ||
uuid | ||
winsvc | ||
funcs.go | ||
funcs_test.go |