Skip to content

Filtering server live stats breaks health checking filter #8473

Closed

Description

@snowp

When the server.live is filtered out, https://github.com/envoyproxy/envoy/blob/master/source/server/server.cc#L210 always returns true, resulting in the health check filter standing in a 503 LH response.

Activity

  1. snowp commented on Oct 3, 2019

    @snowp
    ContributorAuthor

    I imagine the solution here is to store this information as a bool on the server instead of relying on stats lookup

  2. mattklein123 commented on Oct 3, 2019

    @mattklein123
    Member

    Yeah that would be the right solution.

  3. venilnoronha commented on Oct 3, 2019

    @venilnoronha
    Member
  4. lizan commented on Oct 4, 2019

    @lizan
    Member

    This reminds me at #8259, do we know anywhere else that a feature is depending on stats which may be filtered? cc @jmarantz

  5. added this to the 1.12.0 milestone on Oct 4, 2019
  6. jmarantz commented on Oct 6, 2019

    @jmarantz
    Contributor

    There are some integration tests that depend on stats running. So if you wanted to do something like experimentally disable stats to see what else breaks, you wouldn't be able to because the integration tests would definitely break even if production worked :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bughelp wanted

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions