Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIXED] Performance issues with checkAckFloor with large first stream sequence. #4226

Merged
merged 1 commit into from Jun 9, 2023

Commits on Jun 9, 2023

  1. Fix performance issues with checkAckFloor.

    Bail early if new consumer, meaning stream sequence floor is 0.
    Decide which linear space to scan.
    Do no work if no pending and we just need to adjust which we do at the end.
    
    Also realized some tests were named wrong and were not being run, or were in wrong file.
    
    Signed-off-by: Derek Collison <derek@nats.io>
    derekcollison committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    9eeffbc View commit details
    Browse the repository at this point in the history