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

disable message batching for Azure customers #11658

Merged
merged 1 commit into from
Aug 24, 2022

Conversation

alpaix
Copy link
Contributor

@alpaix alpaix commented Aug 24, 2022

The problem

The problem reported by a customer via IcM. Attempting to sync a large data set consisting of batched multiple messages (less than 768kb each) will hit Socket.io buffer max size and the connection will close. The reason is the delta manager flushes batched messages periodically without enforcing the max op size. The max op size is only honored by the container runtime per each message submitted as imposed by the initial design.

The solution

Disable the message batching by setting flushMode to Intermediate for Azure customers. The workaround should be reconsidered when the original batching problem is resolved.

Cherry-picked from the next branch, PR #11568

* Add e2e test to demo use of flush mode

* override flush mode for azure clients

* disable new test for local driver

* PR feedback
@github-actions github-actions bot added area: framework Framework is a tag for issues involving the developer framework. Eg Aqueduct area: tests Tests to add, test infrastructure improvements, etc labels Aug 24, 2022
@alpaix alpaix marked this pull request as ready for review August 24, 2022 22:16
@alpaix alpaix requested review from a team as code owners August 24, 2022 22:16
Copy link
Member

@tylerbutler tylerbutler left a comment

Choose a reason for hiding this comment

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

Looks good once CI passes.

@msfluid-bot
Copy link
Collaborator

Could not find a usable baseline build with search starting at CI a16b65d

Generated by 🚫 dangerJS against 7f51f2c

Copy link
Contributor

@skylerjokiel skylerjokiel left a comment

Choose a reason for hiding this comment

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

🚢

@skylerjokiel skylerjokiel merged commit dbfc93f into microsoft:lts Aug 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: framework Framework is a tag for issues involving the developer framework. Eg Aqueduct area: tests Tests to add, test infrastructure improvements, etc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants