Skip to content

Fix a bug when reaching the maximal size of pre-prepare - #2716

Open
yontyon wants to merge 2 commits into
vmware:masterfrom
yontyon:fix-a-bug-with-filling-pp
Open

Fix a bug when reaching the maximal size of pre-prepare#2716
yontyon wants to merge 2 commits into
vmware:masterfrom
yontyon:fix-a-bug-with-filling-pp

Conversation

@yontyon

@yontyon yontyon commented Jun 30, 2022

Copy link
Copy Markdown
Contributor
  • Problem Overview
    When reaching the limit of prePrepare message size we need to break the loop where we add requests. However, a bug was found where we compare the client message to the overall size before adding the requests causing to deletion of all extra client request messages.
  • Testing Done
    CI

@yontyon
yontyon requested a review from yuliasherman June 30, 2022 16:33
@yontyon
yontyon requested a review from a team as a code owner June 30, 2022 16:33

@yuliasherman yuliasherman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fix looks correct, but it has to be tested using a unit test and/or Apollo test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants