Skip to content

[BUG] Unprotected read data race #1040

@corverroos

Description

@corverroos

We switched from using the cometBFT ABCI RPC to using CosmosSDK gRPC to query application state in this omni-network/omni#2216.

Our CI then started failing with the following data race at: iavl@v1.9.11/nodedb.go:751

See stack trace below.

I opened this PR to fix it, but the PR got stuck in review, with additional data races being highlighted by Code Rabbit.

I closed that PR with the hope that the cosmos team will handle this issue. 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions