Skip to content

fix: fix pbss async node buffer force flush buffer#2885

Merged
zzzckck merged 1 commit intobnb-chain:developfrom
sysvm:fix-pbssut
Feb 11, 2025
Merged

fix: fix pbss async node buffer force flush buffer#2885
zzzckck merged 1 commit intobnb-chain:developfrom
sysvm:fix-pbssut

Conversation

@sysvm
Copy link
Copy Markdown
Contributor

@sysvm sysvm commented Feb 9, 2025

Description

Fix TestDisable UT failure.

Rationale

Trie uses bytesPool to improve updateTrie performance to avoid extra memory allocation. However, PBSS uses asyncnodebuffer to store data which is a async operation. So TestDisable UT cannot pass due to the data in PBSS is async mode and in UT use force flush.

Example

N/A

Changes

Notable changes:

  • N/A

will-2012
will-2012 previously approved these changes Feb 10, 2025
galaio
galaio previously approved these changes Feb 11, 2025
@zzzckck zzzckck changed the base branch from master to develop February 11, 2025 03:46
@zzzckck zzzckck dismissed stale reviews from galaio and will-2012 February 11, 2025 03:46

The base branch was changed.

@zzzckck zzzckck merged commit 5f7ce67 into bnb-chain:develop Feb 11, 2025
@sysvm sysvm deleted the fix-pbssut branch February 11, 2025 03:49
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.

7 participants