consul/website/source/docs
Pierre Souchay eddcf228ea Implementation of Weights Data structures (#4468)
* Implementation of Weights Data structures

Adding this datastructure will allow us to resolve the
issues #1088 and #4198

This new structure defaults to values:
```
   { Passing: 1, Warning: 0 }
```

Which means, use weight of 0 for a Service in Warning State
while use Weight 1 for a Healthy Service.
Thus it remains compatible with previous Consul versions.

* Implemented weights for DNS SRV Records

* DNS properly support agents with weight support while server does not (backwards compatibility)

* Use Warning value of Weights of 1 by default

When using DNS interface with only_passing = false, all nodes
with non-Critical healthcheck used to have a weight value of 1.
While having weight.Warning = 0 as default value, this is probably
a bad idea as it breaks ascending compatibility.

Thus, we put a default value of 1 to be consistent with existing behaviour.

* Added documentation for new weight field in service description

* Better documentation about weights as suggested by @banks

* Return weight = 1 for unknown Check states as suggested by @banks

* Fixed typo (of -> or) in error message as requested by @mkeeler

* Fixed unstable unit test TestRetryJoin

* Fixed unstable tests

* Fixed wrong Fatalf format in `testrpc/wait.go`

* Added notes regarding DNS SRV lookup limitations regarding number of instances

* Documentation fixes and clarification regarding SRV records with weights as requested by @banks

* Rephrase docs
2018-09-07 15:30:47 +01:00
..
agent Implementation of Weights Data structures (#4468) 2018-09-07 15:30:47 +01:00
commands Merge pull request #4263 from hashicorp/kv-get-docs 2018-07-13 18:29:34 +01:00
connect Update intentions documentation to clarify ACL behavior (#4546) 2018-08-20 20:03:53 +01:00
enterprise a couple more corrections 2018-07-27 19:39:44 -04:00
guides Adds XL machine spec and notes on large deployments (#4622) 2018-08-31 10:41:48 -05:00
install Update index.html.md 2018-05-04 12:46:24 -05:00
internals website: update security model 2018-06-25 12:24:18 -07:00
compatibility.html.md fix a couple html errors (#4456) 2018-07-26 16:30:24 -07:00
faq.html.md Remove all mention of Atlas, even in deprecated changelogs 2018-08-03 10:51:18 -07:00
index.html.md website: rename *.markdown to *.md 2017-05-17 20:25:45 +02:00
upgrade-specific.html.md Remove all mention of Atlas, even in deprecated changelogs 2018-08-03 10:51:18 -07:00
upgrading.html.md Better information and advices for upgrade to 1.0.7+ 2018-03-02 09:08:00 +01:00