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

Chain: Underlying Store fails on PUT - what to do? #10

@VojtechVitek

Description

@VojtechVitek

Let's say I have 3 stores: Memstore, BoltDB (async) and s3 (async).

given chain.Put(ctx, key, data)

  • Memstore succeeds
  • BoltDB fails
  • s3 succeeds

What should we do? Should we automatically re-try storing the value into the BoltDB again? What if the DB is down for a bit? Should we have a retry queue per Store?

Or since we have LRU, should we have something like PUT down ON DELETE functionality on chain?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions