Skip to content

Ingester trying to open a TSDB block index reader while shutting down #3350

@pracucci

Description

@pracucci

Describe the bug
Today I experienced the following log while an ingester was shutting down after getting the /shutdown endpoint called:

Issue: `level=warn ts=2020-10-14T08:35:20.077984655Z caller=grpc_logging.go:55 method=/cortex.Ingester/QueryStream duration=11.567608ms err="open querier for block 01EMJ919X41XRBW40XW40DDVZA: open index reader: block is closing" msg="gRPC\n"`

Expected behavior
We should add a circuit breaker to make sure no read occurs on TSDBs once Ingester.closeAllTSDB() has been called.

Storage Engine

  • Blocks
  • Chunks

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueThese are great first issues. If you are looking for a place to start, start here!storage/blocksBlocks storage enginetype/choreSomething that needs to be done; not a bug or a feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions