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 #11664

Merged
merged 1 commit into from
Aug 25, 2022

Conversation

alpaix
Copy link
Contributor

@alpaix alpaix commented Aug 25, 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
@alpaix alpaix marked this pull request as ready for review August 25, 2022 00:04
@alpaix alpaix requested review from a team as code owners August 25, 2022 00:04
@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 base: release PRs targeted against a release branch labels Aug 25, 2022
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 a160927

Generated by 🚫 dangerJS against 030d469

@tylerbutler tylerbutler merged commit 94996da into microsoft:release/1.2 Aug 25, 2022
@alpaix alpaix deleted the op-size-limit branch August 25, 2022 01:17
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 base: release PRs targeted against a release branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants