Skip to content
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

perf(consensus): Fix some peer messages taking write locks on the cs … (backport #92) #94

Merged
merged 3 commits into from
Jun 3, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Jun 3, 2024

…mtx (cometbft#3159)

Some clear, read-only spots in receive routine took Write locks instead of read locks. Seems like a bug.

This PR fixes it.


PR checklist

  • Tests written/updated - N/A imo?
  • Changelog entry added in .changelog (we use unclog to manage our changelog)
  • Updated relevant documentation (docs/ or spec/) and code comments
  • Title follows the Conventional Commits spec

PR checklist

  • Tests written/updated
  • Changelog entry added in .changelog (we use unclog to manage our changelog)
  • Updated relevant documentation (docs/ or spec/) and code comments

This is an automatic backport of pull request #92 done by [Mergify](https://mergify.com).

ValarDragon and others added 3 commits June 3, 2024 15:46
…mtx (cometbft#3159)

Some clear, read-only spots in receive routine took Write locks instead
of read locks. Seems like a bug.

This PR fixes it.

---

#### PR checklist

- [x] Tests written/updated - N/A imo?
- [x] Changelog entry added in `.changelog` (we use
[unclog](https://github.com/informalsystems/unclog) to manage our
changelog)
- [x] Updated relevant documentation (`docs/` or `spec/`) and code
comments
- [x] Title follows the [Conventional
Commits](https://www.conventionalcommits.org/en/v1.0.0/) spec

(cherry picked from commit a0a6a63)
(cherry picked from commit ee6c6d6)
(cherry picked from commit a8e78b8)
@ValarDragon ValarDragon merged commit dcca445 into osmo-v25/v0.37.4 Jun 3, 2024
14 of 16 checks passed
@mergify mergify bot deleted the mergify/bp/osmo-v25/v0.37.4/pr-92 branch June 3, 2024 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant