Bug: Delete Badger:MempoolBackup After Invalid Trial #801
Labels
BACKWARD_COMPATIBLE
require changes that are backward compatible, no reset required
BUG
Something isn't working
CORE
core functionalities
LOW_PRIORITY
can be postponed
Milestone
Description
In
restoreMempoolsBackup
function node will try to restore the mempool byte from badger db.However if the mempool is duplicated, it never delete the backup, which cause this process to repeat and repeat again until we manually flush the kv_db data.
Expected behavior
When
restoreMempoolsBackup
detectDuplicateMempool
it should delete the backup byte.The text was updated successfully, but these errors were encountered: