Skip to content

Fix unbounded heap growth in the priority mempool.#9052

Merged
creachadair merged 4 commits intomasterfrom
mjf/pm-fport-master-1
Jul 20, 2022
Merged

Fix unbounded heap growth in the priority mempool.#9052
creachadair merged 4 commits intomasterfrom
mjf/pm-fport-master-1

Conversation

@creachadair
Copy link

This is a manual forward-port of #8944 and related fixes from v0.35.x.

One difference of note is that the CheckTx response messages no longer have a
field to record an error from the ABCI application. The code is set up so that
these could be reported directly to the CheckTx caller, but it would be an API
change, and right now a bunch of test plumbing depends on the existing semantics.

M. J. Fromberger added 2 commits July 20, 2022 12:23
This is a manual forward-port of #8944 and related fixes from v0.35.x.

One difference of note is that the CheckTx response messages no longer have a
field to record an error from the ABCI application. The code is set up so that
these could be reported directly to the CheckTx caller, but it would be an API
change, and right now a bunch of test plumbing depends on the existing semantics.
- Commit was setting the expected mempool size incorrectly.
- Fix sequence test not to depend on the incorrect size.
@creachadair creachadair force-pushed the mjf/pm-fport-master-1 branch from 18078b5 to d7c128f Compare July 20, 2022 19:23
@creachadair creachadair merged commit fa32078 into master Jul 20, 2022
@creachadair creachadair deleted the mjf/pm-fport-master-1 branch July 20, 2022 21:37
creachadair pushed a commit that referenced this pull request Jul 20, 2022
This is a manual forward-port of #8944 and related fixes from v0.35.x.

One difference of note is that the CheckTx response messages no longer have a
field to record an error from the ABCI application. The code is set up so that
these could be reported directly to the CheckTx caller, but it would be an API
change, and right now a bunch of test plumbing depends on the existing semantics.

Also fix up tests relying on implementation-specific mempool behavior.

- Commit was setting the expected mempool size incorrectly.
- Fix sequence test not to depend on the incorrect size.
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.

2 participants