Skip to content
This repository was archived by the owner on Dec 23, 2022. It is now read-only.
This repository was archived by the owner on Dec 23, 2022. It is now read-only.

Consider merging this with Thanos shipper package. #7

@bwplotka

Description

@bwplotka

Something we missed in the design phase is that this repo is really functionally similar to shipper package used by Thanos. In fact, the shipper would use some fresh improvements we did here (e.g to fix thanos-io/thanos#1670), On top of this, on blockbench repo we agreed to have separate sync CLI command that will do block shipping from the filesystem (see this discussion). Again really similar functionality as Thanos replicate.

Looks like all of this would be nice to be a generalized package for shipping/replicating blocks between two places, am I missing something? 🤔 I am not sure if we should attack this now if we agree on this, but I would propose:

  • Adding replicate improvements (replication ID, upload ordering, tests) to the shipper. Happy to rename it replicator
  • Adding sync CLI command that will use shipper/replicator
  • Allow --daemon and --single-run option.

Sorry for spotting this so late. cc @brancz WDYT?

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions