Closed cristaloleg closed 3 months ago
Currently Store[H].flushLoop will not retry a failed batch, will only increase metric and log the error. Backoff with retries should be much better in this case.
Store[H].flushLoop
Also, should we do log.Fatal/os.Exit when retries is still unsuccessful?
log.Fatal
os.Exit
Based on comment https://github.com/celestiaorg/go-header/pull/207#discussion_r1657287028
Currently
Store[H].flushLoop
will not retry a failed batch, will only increase metric and log the error. Backoff with retries should be much better in this case.Also, should we do
log.Fatal
/os.Exit
when retries is still unsuccessful?Based on comment https://github.com/celestiaorg/go-header/pull/207#discussion_r1657287028