Skip to content

set max record limit when run into race condition #126

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

Merged
merged 3 commits into from
Aug 2, 2023

Conversation

RushiT0122
Copy link
Contributor

@RushiT0122 RushiT0122 commented Jul 31, 2023

Description of change

This PR fixes the issue discussed below,

We have set default record_limit=100000 to reduce memory pressure. But theoretically if we have enough memory we can set record_limit higher. As per current implementation, if we run into race condition then it may get reset to default limit which is lesser than configured limit.

Manual QA steps

  • added new unittest and verified the fix on dev env

Risks

Rollback steps

  • revert this branch

@RushiT0122 RushiT0122 requested a review from luandy64 July 31, 2023 16:50
@RushiT0122 RushiT0122 merged commit 722aa21 into master Aug 2, 2023
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.

2 participants