Commit Graph

72 Commits (63adcbd5efa1de984cbe3c1b119aa2d5aa8eb9bb)

Author SHA1 Message Date
Sean Chittenden 63adcbd5ef
Revert "Move `structs.CheckID` to a new top-level package, `types`."
9 years ago
Sean Chittenden cbb945e76a
Move `structs.CheckID` to a new top-level package, `types`.
9 years ago
Sean Chittenden f5ab25163e
Move `structs.CheckID` to a new top-level package, `types`.
9 years ago
Sean Chittenden ddbe64a8c8
Float a type balloon. Some strings are square pegs in round holes.
9 years ago
James Phillips f541acb0ec Makes a detached copy of the tags when doing the override.
9 years ago
James Phillips a885f1bdff Tweaks comment about side effects.
9 years ago
James Phillips ed86e5cc72 Adds a clone method to HealthCheck and uses that in local.go.
9 years ago
James Phillips cfe0651208 Syncs a check's output with the catalog when output rate limiting isn't in effect.
9 years ago
James Phillips 56cbabff63 Adds a sanity check to the local node info compare.
9 years ago
James Phillips 4be2ab1a75 Moves tagged wan address to be managed by anti-entropy, not serf.
9 years ago
James Phillips c60a526fde Sets up config for more address tags down the road, renames struct members.
9 years ago
Evan Gilman de8fd561d0 Use a map for additional node addresses
9 years ago
Evan Gilman 496cf5ae73 Implement `translate_wan_addrs` config option
9 years ago
James Phillips ed8a71efd7 Store WanAddress during Service/Check sync
9 years ago
Sean Chittenden 7af6a94edb Factor out duplicate functions into a lib package
9 years ago
WangFenjin 29c0516d58 Fix typo
9 years ago
James Phillips d06fc28a0a Prevents agents from considering Raft information when doing sync checks.
9 years ago
Armon Dadgar d137a5fa82 agent: remove an N^2 check. See #1265
9 years ago
James Phillips 0b05dbeb21 Merge pull request #1235 from wuub/master
9 years ago
Wojciech Bederski c4537ed26f panic when unbalanced localState.Resume() is detected
9 years ago
Wojciech Bederski b014c0f91b make Pause()/Resume()/isPaused() behave more like a semaphore
9 years ago
Shawn Cook 66fd8fb2a0 Rename EnableTagOverride and update formatting
9 years ago
Shawn Cook d7ce0b3c6b Remove debug lines
9 years ago
Shawn Cook 96785edd9a Add EnableTagDrift logic to command/agent/local.go
9 years ago
Shawn Cook 6a835939b8 EnableTagDrift in NodeService struct
9 years ago
Ryan Uber 739d1fdf03 Merge pull request #891 from hashicorp/f-token
10 years ago
Ryan Uber 2b62f2f172 agent: use an additional parameter for passing tokens
10 years ago
Ryan Uber 35f5a65fb7 agent: more tests
10 years ago
Ryan Uber 442933650e agent: safer read methods for tokens
10 years ago
Ryan Uber 1264f7edf3 agent: fix deadlock reading tokens from state
10 years ago
Ryan Uber bebb5d9641 agent: add service/check token methods to reduce invasiveness
10 years ago
Ryan Uber bfb27d18cd agent: initial pass threading through tokens for services/checks
10 years ago
artushin cc07734d6e remove config
10 years ago
artushin 7b4720a957 use existing randomStagger
10 years ago
artushin 8decf5d394 adding check_update_stagger
10 years ago
Ryan Uber 60a6da213f agent: handle nil node services in anti-entropy
10 years ago
Ryan Uber 7e170b047e agent: fix anti-entropy check sync
10 years ago
Ryan Uber a60f4adf95 agent: anti-entropy sync services/checks if they don't exist in the catalog
10 years ago
foostan 2df98c1824 Validation ServiceID/CheckID when deleting in deleteService() in local.go
10 years ago
Ryan Uber 46d5dcfc17 agent: comments for new anti-entropy functionality
10 years ago
Ryan Uber a4039aaa4d agent: simplify anti-entropy of services with multiple checks, add tests
10 years ago
Ryan Uber 0c31e5851c agent: only send service with check sync if it is out of sync
10 years ago
Ryan Uber 949ddefbc8 agent: refactor syncChecks
10 years ago
Ryan Uber 674be58e55 agent: support multiple checks per service
10 years ago
Veres Lajos 3b1068387a typofixes - https://github.com/vlajos/misspell_fixer
10 years ago
Armon Dadgar 5887242db2 agent: Handle service ACLs when doing anti-entropy
10 years ago
Ryan Uber cfca160cd5 formatting
10 years ago
Ryan Uber aa6ffc90f0 agent: remove special case of consul service, adjust tests
10 years ago
Armon Dadgar 8c9ab7ba58 agent: Cleanup handling of defer checks
11 years ago
Armon Dadgar a88c36bdc1 agent: Prevent anti-entropy from doing early sync of check output
11 years ago