FluidFramework
FluidFramework copied to clipboard
Reload context should do minimal work ("fast") summary
During reload context, currently each container will create an in-memory summary to use after reloading. It might be nice for this summary to be a specialized summary where the ContainerRuntime just keeps a pointer to the previous summary + a blob of outstanding ops. This will prevent the runtime from traversing the full tree and reduce risk with components being in a local state.
Some considerations:
- these changes should be isolated to the ContainerRuntime, to minimize complexity
- local changes to components/dds might be lost(?)
Should be unlocked by #2716. Additional changes will be:
- Enable explicitly doing "failure" summary by SummarizerNode (should be simple)
- Add
loadBaseSummarycall at ContainerRuntime level (should be simple) - Should disregard ".protocol" from baseSummary when decoded, and tack it on to the encoded summary, because this is at loader layer.
The main work here is to hopefully eliminate the legacy snapshot functions from Container and replace it with summarize.