Closed quentinlesceller closed 6 years ago
It'd be nice if @antiochp could confirm but I'm strongly suspecting the block sums deletion on compact is the culprit. This has been added recently so you wouldn't have as much history as for blocks. And lmdb_zero
does return a MDB_NOTFOUND
if the key to delete isn't found.
TL;DR ignore, will go away.
Oh are we not checking for existence of these before deleting (and we assume they exist)? Or not just ignoring these errors? Let me check and confirm.
Edit: yes that's the issue. We can easily make this a little more robust, but yes, it will go away over time and is safe to ignore.
(This is assuming this was a recently upgraded node that had been running with old code and no block_sums).
Attaching part of the log.