sebak icon indicating copy to clipboard operation
sebak copied to clipboard

Make sure that pending transactions are not lost on restart

Open Geod24 opened this issue 7 years ago • 4 comments

With MainNet around the corner, we will sometimes need to update sebak all nodes at once. We should make sure that nodes do not loose their pending txs on shutdown.

Geod24 avatar Oct 30 '18 04:10 Geod24

I think that we need a tx pool with WAL ( or to keep in file or persistend keep when add)

anarcher avatar Oct 30 '18 05:10 anarcher

In the current scenario, the lost transactions could not be found thru /api/v1/transactions/{hash}, so the client fails to check, they will send it again. This feature will make sebak to be more stable.

spikeekips avatar Nov 05 '18 05:11 spikeekips

Without persisted txs in the pool, Delayed txs is OK?

anarcher avatar Nov 08 '18 12:11 anarcher

Delayed ops will have to be saved as well, but they were reverted so it's not a problem ATM.

Geod24 avatar Nov 09 '18 01:11 Geod24