Skip to content

set max record limit when run into race condition - #126

Merged
RushiT0122 merged 3 commits into
masterfrom
TDL-23718-fix-race-condition
Aug 2, 2023
Merged

set max record limit when run into race condition#126
RushiT0122 merged 3 commits into
masterfrom
TDL-23718-fix-race-condition

Conversation

@RushiT0122

@RushiT0122 RushiT0122 commented Jul 31, 2023

Copy link
Copy Markdown
Contributor

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
@vishalp-dev
vishalp-dev self-requested a review August 2, 2023 08:27
@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