Closed mattverse closed 1 year ago
I think this should target master instead of the release branch, this issue is probably present on v0.20 as well and v1.0.0.
@julienrbrt We can also backport this to older release versions as well though right?
@julienrbrt Awesome, let's do this: I'll close this issue for now and create a PR pointing at main. After we have that reviewed we can probably backport this to all necessary branches
Awesome, let's do that!
cref: https://github.com/cosmos/iavl/issues/696
This PR fixes the problem stated above by replacing maps that causes racing conditions to sync map to be thread safe.
Confirmed and tested on a node with the following procedure:
After 40+ minutes, node does seem to crash, but suspecting this may be to different concurrency issues (still doing more investigation)