-
Notifications
You must be signed in to change notification settings - Fork 268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] concurrent map read and map write #427
Comments
@YunSuk-Yeo we are observing this issue in the sdk https://github.com/cosmos/cosmos-sdk/pull/10040/checks?check_run_id=3475312162. This change requires tendermint to have a RWmutex right? |
yes, just reopened as the problem is still there. |
Moreover this repository depends on tendermint v0.34.12, not ....13 |
It was my mistake, the previous PR contains wrong Mutex update in nodeDB. so I made new PR to rollback the update on nodedb side. |
Now Tendermint support RWMutex, so there can be multiple reader simultaneously.
tendermint/tendermint#6306
But this uncontrolled map access leads fatal error
This line could lead fatal error
iavl/mutable_tree.go
Lines 61 to 69 in ac52606
Error Messages
The text was updated successfully, but these errors were encountered: