open-vault/physical/raft
Hridoy Roy e38f991054
Diagnose checks for raft quorum status and file backend permissions (#11771)
* raft file and quorum checks

* raft checks

* backup

* raft file checks test

* address comments and add more raft and file and process checks

* syntax issues

* modularize functions to compile differently on different os

* compile raft checks everywhere

* more build tag issues

* raft-diagnose

* correct file permission checks

* upgrade tests and add a getConfigOffline test that currently does not work

* comment

* update file checks method signature on windows

* Update physical/raft/raft_test.go

Co-authored-by: Brian Kassouf <briankassouf@users.noreply.github.com>

* raft tests

* add todo comment for windows root ownership

* voter count message

* raft checks test fixes

Co-authored-by: Brian Kassouf <briankassouf@users.noreply.github.com>
2021-06-17 10:04:21 -07:00
..
chunking_test.go Switch to shared raft-boltdb library and add metrics (#11269) 2021-04-26 16:01:26 -07:00
fsm.go physical: deprecate errwrap.Wrapf() (#11692) 2021-05-31 12:54:05 -04:00
fsm_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
io.go Fix code copied from gogo using a different proto import (#9009) 2020-05-15 13:45:22 -07:00
raft.go physical/raft: Add a function that gets the offline, stale configuration (#11821) 2021-06-11 10:25:02 -07:00
raft_autopilot.go Autopilot: Return leader info via delegate (#11247) 2021-04-27 15:54:26 -04:00
raft_test.go Diagnose checks for raft quorum status and file backend permissions (#11771) 2021-06-17 10:04:21 -07:00
raft_util.go Remove unneeded fields from state output (#11073) 2021-03-10 12:08:12 -05:00
snapshot.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
snapshot_test.go Create helpers which integrate with OpenTelemetry for diagnose collection (#11454) 2021-04-29 13:32:41 -05:00
streamlayer.go physical: deprecate errwrap.Wrapf() (#11692) 2021-05-31 12:54:05 -04:00
streamlayer_test.go storage/raft: Advertise the configured cluster address (#9008) 2020-05-18 18:22:25 -07:00
types.pb.go Introduce Logical Unrecoverable Error, Use it in Expiration Manager (#11477) 2021-05-03 17:56:06 -06:00
types.proto Autopilot: Server Stabilization, State and Dead Server Cleanup (#10856) 2021-03-03 13:59:50 -05:00
varint.go Fix code copied from gogo using a different proto import (#9009) 2020-05-15 13:45:22 -07:00