-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Occasional error when reading session data from file system #4353
Comments
The file session storage implementation doesn't work well since loaders can run in parallel. There is no file-locking on the current one so it's very possible to corrupt session data. |
I've got a working version with file locks, but still trying to figure out performance issues. |
Hello, do you know if any progress could be made around this issue ? |
I just made one to run synchronously and it doesn't corrupt - we only use this in local dev - we use redis in prod.
|
Oddly I get this error only when my FF dev tools are open. I assumed some side-effect of opening it. It is though not the disabled cache, I've tested it. Using the 2.3.1 vite plugin remix version. |
I think i hit same issue, this may need to be documented in the docs. |
What version of Remix are you using?
1.6.5
Steps to Reproduce
createFileSessionStorage
)Expected Behavior
No errors.
Actual Behavior
Occasionally, the page fails to load:
The text was updated successfully, but these errors were encountered: