You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously, concurrency in IAVL were not supported due to issues mentioned above. Right now nodes would occasionally crash with racing conditions, even with concurrency option turned off.
Suggested Design
Use sync.Map for the map where race condition is happeninng.
cosmos/iavl#802 PR is up here, we need to decide how we want to apply this in v17 since it would time some time to get upstreamed.
The text was updated successfully, but these errors were encountered:
Background
Related issues are:
UnsavedFastIterator
&MutableTree
cosmos/iavl#696Previously, concurrency in IAVL were not supported due to issues mentioned above. Right now nodes would occasionally crash with racing conditions, even with concurrency option turned off.
Suggested Design
Use sync.Map for the map where race condition is happeninng.
cosmos/iavl#802 PR is up here, we need to decide how we want to apply this in v17 since it would time some time to get upstreamed.
The text was updated successfully, but these errors were encountered: