FluidFramework icon indicating copy to clipboard operation
FluidFramework copied to clipboard

Clean up session storage

Open arinwt opened this issue 6 years ago • 2 comments

Feature

When locally testing against browser session storage, it is possible to exceed the quota if the tab is overused. It might be nice to free up space by clearing out some old summaries/ops to prevent unexpected storage errors that essentially corrupt the document.

The error looks something like:

"Error: Failed to execute 'setItem' on 'Storage': Setting the value of '<value>' exceeded the quota.

It was noticed by having the same tab open for a few days.

arinwt avatar Jun 04 '20 19:06 arinwt

if we don't have a need to long running sessions, another approach could be the propagate this error, and close the container. We'd probably want some UX in the webpack-component-loader too, so the user knew their container was full, and they should create a new one

anthony-murphy avatar Jun 04 '20 19:06 anthony-murphy

This issue has been automatically marked as stale because it has had no activity for 180 days. It will be closed if no further activity occurs within 8 days of this comment. Thank you for your contributions to Fluid Framework!

ghost avatar Jun 08 '21 00:06 ghost