Skip to content

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

Open
yontyon wants to merge 2 commits intovmware: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 intovmware:masterfrom
yontyon:fix-a-bug-with-filling-pp

Conversation

@yontyon
Copy link
Copy Markdown
Contributor

@yontyon yontyon commented Jun 30, 2022

  • 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
Copy link
Copy Markdown
Contributor

@yuliasherman yuliasherman left a comment

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