Skip to content

Do not close and re-open TSDBs during ingester transfer #1829

Closed
@pracucci

Description

@pracucci

When the ingester is leaving the ring and begins transferring TSDB blocks and WAL to a joining ingester, currently we do close the TSDB to flush it to disk before transferring. However, if a query hit the ingester after the TSDB has been closed and before the transfer is completed, the leaving ingester will re-open the TSDB (including WAL replay) which lead to an high resources consumption and query latency.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions