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

Newly added HostProxy objects are not marked as inactive #495

Closed
mikkokar opened this issue Oct 23, 2019 · 1 comment
Closed

Newly added HostProxy objects are not marked as inactive #495

mikkokar opened this issue Oct 23, 2019 · 1 comment
Assignees

Comments

@mikkokar
Copy link
Contributor

Description

The newly added HostProxy objects, representing origins, are not marked as inactive in backwards compatibility mode (PR #458). Therefore, Styx LoadBalancingGroup momentarily sends traffic to them until a health checking service marks them as inactive.

Background

When health checking is enabled, styx confirms that all newly added origins are healthy before adding them to the load balancing group. This is to prevent from accidental loss of data when a newly added origin is unresponsive.

Acceptance Criteria

  • When health checking is enabled

    • All HostProxy objects are inserted with state:inactive tag. This prevents LoadBalancingGroup from picking them up.
    • The health checking service will mark them with state:active after a successful health has been confirmed, subject to configuration and threshold values.
  • When health checking is disabled

    • All HostProxy objects can be inserted untagged (without state:inactive tag). It is up for discussion if they should be inserted with state:active instead.
@OwenLindsell
Copy link
Contributor

Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants