Skip to content

bug: concurrent commit and RPC Simulate call causes a data race in IAVL #1356

@p0mvn

Description

@p0mvn

Background

There was a fatal error observed on v7.1.0. On initial investigation, it is being caused by concurrently committing and calling the following RPC.

This happened at least 3 times over the past 3 days

Logs: concurrent_rw_panic.log

Acceptance Criteria

  • investigate and synchronize and fix the problem
  • create an e2e test to test the fix by running a chain and calling the Simulate RPC several times

Metadata

Metadata

Assignees

Labels

T:bug 🐛Something isn't working

Type

No type

Projects

Status

Done ✅

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions