Commit Graph

509 Commits (6be97eb8bb3e9bacdee92562e48b398d6f116b57)

Author SHA1 Message Date
Kyle Havlovitz 2392545adc
Merge branch 'coordinate-node-endpoint' of github.com:hashicorp/consul into esm-changes
7 years ago
Kyle Havlovitz 5589eadcf5
Added Coordinate.Node rpc endpoint and client api method
7 years ago
Frank Schroeder ca9aac746f
agent: add /v1/coordianate/node/:node endpoint
7 years ago
Frank Schroeder b4d8c26194
docker: add comment about "connection reset by peer" error
7 years ago
Frank Schroeder 164ec3ec39
docker: stop previous check on replace
7 years ago
Frank Schroeder e774b46f82
docker: close idle connections on stop
7 years ago
Frank Schroeder 94726ef105
docker: do not alloc a tty since this is not interactive
7 years ago
Frank Schroeder a1b47d99c1
docker: make sure to log the error when we fall through
7 years ago
Frank Schroeder 51a18c2557
docker: ignore "connection reset by peer"
7 years ago
Kyle Havlovitz ce4e8c46fa
Add deregister critical service field and refactor duration parsing
7 years ago
Kyle Havlovitz 291455f475
Added coordinate update http endpoint
7 years ago
Kyle Havlovitz d56936e27a
Added remaining HTTP health check fields to structs
7 years ago
Kyle Havlovitz a7c42a6c2a
Expose SkipNodeUpdate field and some health check info in the http api
7 years ago
Frank Schroeder d14adc6b4d
fix go vet issue
7 years ago
Frank Schroeder 96fdbd00a6
replace custom unique id with a UUID
7 years ago
Frank Schroeder 8f145559d8
Decouple the code that executes checks from the agent
7 years ago
Frank Schroeder 1cb8b0ffe3
local state: fix go vet issue
7 years ago
Frank Schroeder 7335c34c32
local state: remove stale comment
7 years ago
Frank Schroeder 3d547e30c7
local state: make test more robust
7 years ago
Frank Schroeder 52e73301f6
local state: clone check to avoid side effect
7 years ago
Frank Schroeder 6bc9d66192
local state: use synchronized access to internal maps
7 years ago
Frank Schroeder cc0499da3d
ae: do not trigger on Resume while holding the lock
7 years ago
Frank Schroeder 92f136de12
ae: add remaining test cases
7 years ago
Frank Schroeder 622ace2829
ae: refactor StateSyncer to state machine for better testing
7 years ago
Frank Schroeder 1212598ae2
ae: add test that we run a full before a partial sync
7 years ago
Frank Schroeder 4431e222fe
ae: make control flow more explicit
7 years ago
Frank Schroeder 3231385089
ae: fix typo in constructor name
7 years ago
Frank Schroeder 51daa96dfe
ae: add test for resume triggering SyncChanges
7 years ago
Frank Schroeder 92088d21e8
ae: add test for ifNotPausedRun
7 years ago
Frank Schroeder 11e172d1e9
ae: make stagger function pluggable for testing
7 years ago
Frank Schroeder e2452efed8
ae: restore previous pause/resume behavior
7 years ago
Frank Schroeder aba072bd1d
ae: ensure that syncs are blocked when paused
7 years ago
Frank Schroeder 58d52ac580
local state: rename Add{Check,Service}State to Set{Check,Service}State
7 years ago
Frank Schroeder e144f51b29
local state: move Metadata methods together
7 years ago
Frank Schroeder 4f9e05f634
local state: update documentation of updateSyncState
7 years ago
Frank Schroeder 41c7b0927e
local state: update comments
7 years ago
Frank Schroeder de57b16d99
local state: address review comments
7 years ago
Frank Schroeder 5c77c59501
local state: refactor TestAgentAntiEntropy_EnableTagOverride
7 years ago
Frank Schroeder 524981f367
local state: fix TestAgentAntiEntropy_EnableTagOverride
7 years ago
Frank Schroeder 1181aaee6a
local state: rename tests
7 years ago
Frank Schroeder 1602ac56b5
local state: drop retry loops from tests
7 years ago
Frank Schroeder 7e3adc4549
agent: skip non-sensical TestCatalogRegister
7 years ago
Frank Schroeder 71c74e62c7
local state: fix anti-entropy state tests
7 years ago
Frank Schroeder 37b95ef98e
local state: fix test with updated error message
7 years ago
Frank Schroeder d2cc0e6e8a
local state: fix failing tests
7 years ago
Frank Schroeder b803bf3091
local state: tests compile
7 years ago
Frank Schroeder 0a9ac9749e
local state: replace multi-map state with structs
7 years ago
Frank Schroeder 6027a9e2a5
local state: move to separate package
7 years ago
Frank Schroeder c00bbdb5e4
agent: simplify some loops
7 years ago
Frank Schroeder cbaf97bced
agent: refactor sync loop to linear flow of control
7 years ago
Frank Schroeder 94ef1041a1
agent: cleanup StateSyncer
7 years ago
Frank Schroeder 29e18c7494
agent: decouple anti-entropy from local state
7 years ago
Frank Schroeder 2e7ed2fd86
Merge pull request #3585 from hashicorp/document-runtime-config
7 years ago
Frank Schroeder 5bfb2808f9
Merge pull request #3598 from hashicorp/issue-3397-error-with-extra-flags
7 years ago
Frank Schroeder 81917ee675
Merge pull request #3600 from hashicorp/support-go-sockaddr-for-dns-recursors
7 years ago
Frank Schroeder e5d5e6429b
Revert "config: add support for go-sockaddr templates for DNS recursors"
7 years ago
Frank Schroeder 0e360cc3b5
Revert "config: do not allow an ANY address as DNS recursor"
7 years ago
Frank Schroeder 58b0e153f9
Revert "agent: decouple anti-entropy from local state"
7 years ago
Frank Schroeder b4e7d0b974
Revert "agent: cleanup StateSyncer"
7 years ago
Frank Schroeder 26a155eb41
Revert "agent: refactor sync loop to linear flow of control"
7 years ago
Frank Schroeder 91569a7ceb
Revert "agent: simplify some loops"
7 years ago
Frank Schroeder 67a0689f71
Revert "local state: move to separate package"
7 years ago
Frank Schroeder 623e07760a
Revert "local state: replace multi-map state with structs"
7 years ago
Frank Schroeder 9ed4b2d631
Revert "local state: tests compile"
7 years ago
Frank Schroeder b3bfeee100
Revert "local state: fix failing tests"
7 years ago
Frank Schroeder 5ae4c52ca6
Revert "local state: fix test with updated error message"
7 years ago
Frank Schroeder 67cdfc038e
Revert "local state: fix anti-entropy state tests"
7 years ago
Frank Schroeder fca0df59fb
Revert "agent: skip non-sensical TestCatalogRegister"
7 years ago
Frank Schroeder 556bf3f85d
Revert "local state: drop retry loops from tests"
7 years ago
Frank Schroeder a3aa864d5b
Revert "local state: rename tests"
7 years ago
Frank Schroeder 39615cb57b
Revert "local state: fix TestAgentAntiEntropy_EnableTagOverride"
7 years ago
Frank Schroeder 9fdea75d99
Revert "local state: refactor TestAgentAntiEntropy_EnableTagOverride"
7 years ago
Frank Schroeder 46641e44d9
Revert "local state: address review comments"
7 years ago
Frank Schroeder abd83f2d28
Revert "local state: update comments"
7 years ago
Frank Schroeder c6e441dd60
Revert "local state: update documentation of updateSyncState"
7 years ago
Frank Schroeder 648b4da4f8
Revert "local state: move Metadata methods together"
7 years ago
Frank Schroeder fa45a6a547
Revert "local state: rename Add{Check,Service}State to Set{Check,Service}State"
7 years ago
Frank Schroeder e95d22b9a8
Revert "ae: ensure that syncs are blocked when paused"
7 years ago
Frank Schroeder 23a9ac9d56
Revert "ae: restore previous pause/resume behavior"
7 years ago
Frank Schroeder 93d03595d1
Revert "ae: make stagger function pluggable for testing"
7 years ago
Frank Schroeder 3d202b59bc
Revert "ae: add test for ifNotPausedRun"
7 years ago
Frank Schroeder e0e96496f1
Revert "ae: add test for resume triggering SyncChanges"
7 years ago
Frank Schroeder cab3b17292
Revert "ae: fix typo in constructor name"
7 years ago
Frank Schroeder 25ed78c8f7
Revert "ae: make control flow more explicit"
7 years ago
Frank Schroeder 65166cce8e
Revert "ae: add test that we run a full before a partial sync"
7 years ago
Frank Schroeder e78520c3f9
Revert "ae: refactor StateSyncer to state machine for better testing"
7 years ago
Frank Schroeder 4121cafed7
Revert "ae: add remaining test cases"
7 years ago
Frank Schroeder f8202f300f
Revert "ae: do not trigger on Resume while holding the lock"
7 years ago
Frank Schroeder d6f52d9ed1
Revert "local state: use synchronized access to internal maps"
7 years ago
Frank Schroeder 4e862d126d
Revert "local state: clone check to avoid side effect"
7 years ago
Frank Schroeder 42af4cdc70
Revert "local state: make test more robust"
7 years ago
Frank Schroeder 4ae8317fbf
Revert "local state: remove stale comment"
7 years ago
Frank Schroeder eb0f2036a3
Revert "config: document telemetry options"
7 years ago
Frank Schroeder 63402a3103
Revert "config: document http options"
7 years ago
Frank Schroeder 721cb8d561
Revert "config: document dns options"
7 years ago
Frank Schroeder f3ed813f03
Revert "config: document autopilot options"
7 years ago
Frank Schroeder c4662e4806
Revert "config: document acl options"
7 years ago
Frank Schroeder 807831446a
Revert "config: document config options"
7 years ago
Frank Schroeder 29616e969a
Revert "config: document more acl options"
7 years ago
Frank Schroeder 3667a882ef
Revert "config: document more config options"
7 years ago