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

Pass lock metadata on uploads #4514

Draft
wants to merge 13 commits into
base: master
Choose a base branch
from
Draft

Conversation

glpatcern
Copy link
Member

@glpatcern glpatcern commented Feb 13, 2024

We now pass relevant metadata (lock id and lock holder) downstream on uploads and on xattr operations, and handle the case of conflicts due to lock mismatch. The full implementation is only for eos (and requires eos 5.2.22+ on the server), cephfs is TODO.

Relates to cs3org/wopiserver#139

Copy link

update-docs bot commented Feb 13, 2024

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@glpatcern glpatcern marked this pull request as draft February 13, 2024 16:53
@glpatcern glpatcern force-pushed the locks-uploads branch 8 times, most recently from 9a8b893 to 36a072a Compare February 14, 2024 21:32
@glpatcern glpatcern changed the title Pass lock holder metadata on uploads Pass lock metadata on uploads Feb 14, 2024
@glpatcern glpatcern marked this pull request as ready for review February 15, 2024 09:48
@glpatcern glpatcern force-pushed the locks-uploads branch 2 times, most recently from 9e48ccf to f2854e1 Compare March 7, 2024 10:14
@glpatcern glpatcern requested a review from ffurano March 7, 2024 10:22
@glpatcern glpatcern linked an issue Mar 20, 2024 that may be closed by this pull request
@glpatcern glpatcern marked this pull request as draft March 22, 2024 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

eosfs: Upload function does not take the lock into account
1 participant