Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
heavily improve performance when there are many events
- Loading branch information
Showing
1 changed file
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
885a740
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could this cause sync issue? my recent app build are encountered serious sync issue.
885a740
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unlikely. Is your error message related to this code?
885a740
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am using some old slate-yjs modified version, the code is stable in prod env for years, since the build use yjs 13.6.4, the sync result many failure, wrong path, all kinds of, can not find path of slate node. rollback to 13.6.2 back to normal. all sentry errors came from yjs 13.6.4 built app. 13.6.3 and 13.6.4 is suspicious anyway.
885a740
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also experiencing the same. Just upgrade from 13.6.2 to the 13.6.4 and experience weird sync issues indeed. NodeJS just hanging/locking. But no errors.
Also confirmed the behaviour is present in 13.6.3. So I don't think the change in this commit is the issue.
Switching back to 13.6.2 also fixes the issues.
885a740
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please open a ticket with the specific error message you are seeing?
885a740
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI @NilSet
885a740
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found a bug related to this change in 13.6.4. Probably unrelated since 13.6.3 is NOT broken, as @jvandenaardweg says.
#544
885a740
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ulion can you create an issue with the Sentry errors you have? I'm also experiencing weird issues with 13.6.4+, but don't have error messages. My browser just hangs/locks on large (as in large history) documents of like 1MB+, without any error. So can't be of much help here, but would like to see this issue fixed :) Your error messages could help others to fix the issue.
Also just tried 13.6.5 (latest version as of today), but the issue is also there.
885a740
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jvandenaardweg I believe my issue was fixed in 13.6.5, and indeed introduced by 13.6.4 the cache of the path, it is supposed already be fixed and 13.6.5 already released. do you mean you still have problem with 13.6.5?
885a740
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The latest release should fix this issue. If not, please create a new issue - a sample document, or at least an error trace would be helpful.
885a740
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah. But just to clarify, it's probably not related to the issue you had. My browser just hangs on large documents without any error, which is not happening on 13.6.2. I guess i'll have to digg deeper to get some sense on why this happens. I thought our issues might be related.
Will look into this later!