Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

port the fix of flight bytes bug into release/2.0.x #9412

Merged
merged 1 commit into from
Aug 19, 2020

Conversation

vzqzhang
Copy link
Contributor

@vzqzhang vzqzhang commented Aug 18, 2020

Change Description

There is an option for nodeos that specifies the max flight bytes. However, it did not work fine since the calculation of the bytes in flight was wrong. The bytes in flight was always 0 or 1 so it never exceeds the max flight bytes.

It causes an issue that nodeos continues to accept new transactions when there is no new blocks until the process reaches the maximum file descriptors. It causes the nodeos malfunctioning and cannot be recovered. In some environments it causes the whole OS malfunctioning.

Change Type

Select ONE

  • Documentation
  • Stability bug fix
  • Other
  • Other - special case

Consensus Changes

  • Consensus Changes

API Changes

  • API Changes

Documentation Additions

  • Documentation Additions

…flight queue size exceeds the maximum flight bytes
@vzqzhang
Copy link
Contributor Author

The original PR is: #9411

@vzqzhang vzqzhang merged commit 8da6a23 into release/2.0.x Aug 19, 2020
@vzqzhang vzqzhang deleted the port_flight_bytes_fix_into_release/2.0.x branch August 19, 2020 14:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants