Skip to content

v1.4.15

Compare
Choose a tag to compare
@iulianpascalau iulianpascalau released this 27 Mar 14:09
cfaaaca

What's Changed

Bugfixes

  • added concurrency protection in the trie sub-component by @iulianpascalau in #5123
    This PR fixes a bug that happened on a handful of nodes that caused the trie nodes not to be saved in the DB after the block has been processed. Due to our last refactoring work in the Patricia-Merkle Trie implementation, we've wrongly removed mutex protection for a critical area. That area was used in the normal block processing and in the interceptors implementations (the components responsible for the pre-validation of the incoming data). Since there was more than 1 thread acting on the same area, due to some WAW hazards, the affected nodes ended up journalizing the wrong data to be written on the disk after the block was processed. Affected nodes stopped syncing the chain as they were missing some trie data nodes.

Other Notable Changes

Full Changelog: v1.4.14...v1.4.15