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

Add max request count limit for LiCombinedControlRequest #519

Closed
wants to merge 1 commit into from

Conversation

CCisGG
Copy link

@CCisGG CCisGG commented Aug 28, 2024

Description:

This is a temporary fix for incident-1517. We tried to merge limited amount of requests to a single LiCombinedControlRequest, so that a single request size is not larger than max limit which is 100MB. We should revert it once the incident is mitigated.

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

@CCisGG
Copy link
Author

CCisGG commented Aug 28, 2024

Closing as this is likely not helping because on controller failover there is going to be a single huge MetadataRequest that blocks the controller send queue.

@CCisGG CCisGG closed this Aug 28, 2024
// Fixme: tmp fix for incident-1517. We tried to merge limited amount of requests to a single LiCombinedControlRequest
// so that a single request size is not larger than max limit which is 100MB.
var counter = maxRequestCountToMerge
while (!queue.isEmpty && shouldContinueMerging && maxRequestCountToMerge > 0) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a do-nothing change because maxRequestCountToMerge is always > 0. You want counter in there.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haha good call! Thanks Greg!

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