Skip to content
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

Ensure clients get write capability #10872

Merged
merged 1 commit into from
Aug 22, 2024
Merged

Conversation

hubertp
Copy link
Contributor

@hubertp hubertp commented Aug 22, 2024

Pull Request Description

When Ydoc requests to open file and encounters a timeout, it will attempt to retry the request. At least that's the behaviour since
#10787.
Unfortunately, the write lock on the file might be already held and identified by the client id and actor reference. The latter is always determined by the request and therefore spurious. The same client should always be given the same capability, even on retries.

Related to #10579.

When Ydoc requests to open file and encounters a timeout, it will
attempt to retry the request. At least that's the behaviour since
 #10787.
Unfortunately, the write lock on the file might be already held and
identified by the client id and actor reference. The latter is always
determined by the request and therefore spurious. The same client should
always be given the same capability, even on retries.
@hubertp hubertp added the CI: No changelog needed Do not require a changelog entry for this PR. label Aug 22, 2024
@hubertp hubertp merged commit 6b0194c into develop Aug 22, 2024
42 checks passed
@hubertp hubertp deleted the wip/hubert/10579-lockholder-fix branch August 22, 2024 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI: No changelog needed Do not require a changelog entry for this PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants