Skip to content

compactor: Rare race of sharded compactors / slow upload causing data loss. #1919

@bwplotka

Description

@bwplotka

As per discussion, #1901 sharding compactor is currently not fully safe. Please do not use it or use only for smaller setups.

We are working on this, but the reason is also partially explained in https://docs.google.com/document/d/1QvHt9NXRvmdzy51s4_G21UW00QwfL9BfqBDegcqNvg0/edit#

TL;DR:

  • Compactor A for shard cluster = A is uploading the block X - upload takes more than 30m
  • Compactor B is syncing all blocks. It see block X that is being uploaded for more than 30m, removing block.

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