2994 Commits (660da921522649531dfc36e246817232fdb0d555)
 

Author SHA1 Message Date
James Phillips 660da92152 Makes the default protocol 2 and lets 3 interoperate with 2. 9 years ago
James Phillips 80d5a3029f Zeroes out the height when testing exact distances. 9 years ago
James Phillips 384d99677d Cleans up after latest rebase. 9 years ago
James Phillips e21b450f69 Runs go fmt after latest rebase. 9 years ago
James Phillips e8322ffe00 Adds a test for the `DisableCoordinate` config. 9 years ago
James Phillips f9da231a1c Adds coordinate of agent to self endpoint. 9 years ago
James Phillips 6289764ea2 Moves sorting up into coordinate endpoint HTTP handlers. 9 years ago
James Phillips d45fc23abf Installs a friendly handler for coordinate endpoints when coordinates are disabled. 9 years ago
James Phillips ce0e9759f8 Fixes config merge fn for disabling coordinates and adds it to JSON. 9 years ago
James Phillips 33e3505aea Adds endpoints for raw network coordinates. 9 years ago
James Phillips 843613143b Fixes bad name for DC forwarding of Coordinate.Get. 9 years ago
James Phillips 9c9195746f Changes ?near=self to a safer ?near=_agent, which is also clearer about what it does. 9 years ago
James Phillips 9caa5b3653 Adds distance sorting to health endpoint. Cleans up unit tests. 9 years ago
James Phillips 497f6782af Switches to the median over all DC nodes with known coordinates. 9 years ago
James Phillips e47eea3f3a Adds a magic "self" node name to distance queries. 9 years ago
James Phillips 6d845c7d0d Adds explicit check for empty node in source parameter. 9 years ago
James Phillips 78b2c2d7ac Moves disable checks down into the sort routine. 9 years ago
James Phillips 54ef97b268 Adds tests for HTTP interface. Removes a stray mark. 9 years ago
James Phillips 36c78f5042 Adds sort of DCs in catalog queries based on RTT. Cleans up. 9 years ago
James Phillips 89c7203f31 Adds coordinate sorting support to catalog queries for nodes and service nodes. 9 years ago
James Phillips d734697820 Turns down the coordinate sync rate a bit more. 9 years ago
James Phillips ad65d953f6 Scales coordinate sends to hit a fixed aggregate rate across the cluster. 9 years ago
James Phillips 66a3d29743 Simplifies the batching function and adds some comments. 9 years ago
James Phillips e094f5a61d Adds snapshot save and restore of coordinates. 9 years ago
James Phillips 5f754c4a87 Does some small cleanups based on PR feedback. 9 years ago
James Phillips 7e6d52109b Hardens Consul from bad coordinates from other nodes. 9 years ago
James Phillips 2cee9f7e2f Takes the node name out of the coordinate get call. 9 years ago
James Phillips d12aa2ffab Moves batching down into the state store and changes it to fail-fast. 9 years ago
James Phillips b9d5fb0f90 Flips the sense of the coordinate enable option. 9 years ago
James Phillips 92567841d6 Removes one more WAN leftover. 9 years ago
James Phillips 86b112fe31 Does a clean up pass on the Consul side. 9 years ago
James Phillips 01d2452ea3 Merges config changes after rebase. 9 years ago
Derek Chiang 7255ddd086 Address comments 9 years ago
Derek Chiang 2f11db15aa Add test for the GetWAN endpoint 9 years ago
Derek Chiang 1929b1dabf Add an endpoint for getting WAN coordinates 9 years ago
Derek Chiang 69003310ca Fix tests 9 years ago
Derek Chiang 54a2815d9c Address comments 9 years ago
Derek Chiang f8d81092c9 Add state store tests 9 years ago
Derek Chiang f657caf1dd Add more tests 9 years ago
Derek Chiang f144d17b1c Address comments 9 years ago
Derek Chiang ab9262c656 Add a test case 9 years ago
Derek Chiang bf5cb7522f Use IndexedCoordinate instead 9 years ago
Derek Chiang d8dd8d77d4 Improve a test 9 years ago
Derek Chiang a1854a7614 Some fixes 9 years ago
Derek Chiang a338e5efe8 Fix a comment 9 years ago
Derek Chiang 98d87b5dd5 Complete logic for sending coordinates 9 years ago
Derek Chiang 8a0bb40bba Fix tests 9 years ago
Derek Chiang 9113b26286 Some fixes 9 years ago
Derek Chiang b87f122a5b Change GET API a little bit 9 years ago
Derek Chiang a9ea503c69 Adding tests and stuff 9 years ago