Skip to content

Ring lifecycler logs several errors at ingester startup while replaying TSDB WAL #1992

@pracucci

Description

@pracucci

When the experimental blocks storage is used, the ingester module initialization (initIngester()) may take several time to replay the WAL. Until the module initialization is not completed, the HTTP server loop is not started, so readiness probe requests (GET /ready) will hang. Once the module initialization is completed, all GET /ready requests are processed, but for most of them the deadline has already been reached and they fail as soon as it's checked (apparently the first place hitting it is in the lifecycler CheckReady()).

Example of errors:

level=error ts=2020-01-15T13:43:20.919263167Z caller=lifecycler.go:216 msg="error talking to the KV store" ring=ingester err="Get http://REDACTED:8500/v1/kv/ring?stale=: context canceled"

This is not a real issue, but the error log may deceive the user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions