-
Notifications
You must be signed in to change notification settings - Fork 532
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
Fluid runtime summary error caused by large change #22395
Comments
This issue is due to AFR having a limit of 28 MB on summary uploads: Azure Fluid Relay limits - Azure Fluid Relay | Microsoft Learn I would recommend doing summary compression at the driver layer to resolve this issue. To do this, simply wrap the document service factory using the |
Issues which I think need to be addressed related to this:
Some good news: My original repro for this issue (inserting 400000 nodes containing "x" into an array in the tree at https://github.com/microsoft/FluidExamples/blob/main/item-counter/src/schema.ts#L25 using I now have to insert much more data to fail, and the error I get now indicates that the summary was too large:
I'm also no longer seeing an error reported from the azure-local-service console output. I produced this error by inserting 100+ MB of uncompressible data into the tree. The error indicates That was done using: public insertNew = () => {
const data = [];
for (let index = 0; index < 100; index++) {
const inner = [];
for (let i = 0; i < 10000; i++) {
inner.push(Math.random().toString(36));
}
data.push(inner.join("x"));
}
this.insertAtStart(TreeArrayNode.spread(data));
console.log(
`${[...this].map((a) => a.length).reduce((a, b) => a + b, 0) / 1024 / 1024} MB`,
);
}; and inserting data with the button hooked up to that method many times. |
Describe the bug
If we try sending large set of data (Array of size 1 million nodes) via shared tree (insert/remove op), then the socket communication breaks and web just hangs there
The other client which is connected to the session, do not receive the data
After some time interval, we starts getting
Summarize_cancel
, ‘Summerize_failed’ errorsTo Reproduce
Steps to reproduce the behavior:
Using any fluid app, insert a very large string or create and array with around 1 million nodes. nsimons repro'd with the array in using the FluidExamples code.
Expected behavior
No error.
The text was updated successfully, but these errors were encountered: