Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementation of Weights Data structures #4468

Merged
merged 17 commits into from
Sep 7, 2018

Commits on Jul 31, 2018

  1. Implementation of Weights Data structures

    Adding this datastructure will allow us to resolve the
    issues hashicorp#1088 and hashicorp#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.
    pierresouchay committed Jul 31, 2018
    Configuration menu
    Copy the full SHA
    dac209a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6321851 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2018

  1. DNS properly support agents with weight support while server does not…

    … (backwards compatibility)
    pierresouchay committed Aug 2, 2018
    Configuration menu
    Copy the full SHA
    dff7d78 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2018

  1. 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.
    pierresouchay committed Aug 3, 2018
    Configuration menu
    Copy the full SHA
    f7a56b3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2dbefc0 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2018

  1. Configuration menu
    Copy the full SHA
    a66bfb4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fc03eae View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2018

  1. Configuration menu
    Copy the full SHA
    4f23895 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    99e6b19 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2018

  1. Configuration menu
    Copy the full SHA
    25eae9f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d0aa773 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2018

  1. Fixed unstable tests

    pierresouchay committed Aug 27, 2018
    Configuration menu
    Copy the full SHA
    c327158 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bea7d7e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b035289 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2018

  1. Merge remote-tracking branch 'origin' into weights_for_services

    Will allow master branch to be merged properly
    pierresouchay committed Sep 1, 2018
    Configuration menu
    Copy the full SHA
    3ef126c View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2018

  1. Configuration menu
    Copy the full SHA
    971c0b3 View commit details
    Browse the repository at this point in the history
  2. Rephrase docs

    banks authored Sep 7, 2018
    Configuration menu
    Copy the full SHA
    1acaf80 View commit details
    Browse the repository at this point in the history