You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Server A opens/closes many direct connections to documents without any other connections on that server. However, some of those documents might be loaded and updated on server B, occasionally causing the aforementioned lock error. As a result server A slowly accumulates loaded documents.
As a workaround, I'm periodically unloading documents without connections, but I believe the issue should be addressed in Hocuspocus.
Perhaps unloading should occur regardless of store document hook result?
Environment?
Hocuspocus version: 2.13.5
The text was updated successfully, but these errors were encountered:
Description
The document is not unloaded after invoking DirectConnection.disconnect() if one of store document hooks fails.
The most common scenario is Redis extension failing to acquire the lock.
Scenario
Server A opens/closes many direct connections to documents without any other connections on that server. However, some of those documents might be loaded and updated on server B, occasionally causing the aforementioned lock error. As a result server A slowly accumulates loaded documents.
As a workaround, I'm periodically unloading documents without connections, but I believe the issue should be addressed in Hocuspocus.
Perhaps unloading should occur regardless of store document hook result?
Environment?
The text was updated successfully, but these errors were encountered: