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 + use upstream EOS GRPC bindings #4514

Merged
merged 26 commits into from
Aug 30, 2024

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

Edit: the EOS GRPC bindings are taken from https://github.com/cern-eos/go-eosgrpc/

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
@glpatcern glpatcern force-pushed the locks-uploads branch 2 times, most recently from 4c66e0f to 2e8b265 Compare April 15, 2024 09:06
@glpatcern glpatcern marked this pull request as ready for review June 11, 2024 16:18
Copy link
Member

@labkode labkode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Few minor changes

@glpatcern glpatcern force-pushed the locks-uploads branch 3 times, most recently from e987a60 to 1140ae7 Compare August 14, 2024 08:34
labkode
labkode previously approved these changes Aug 14, 2024
@labkode labkode merged commit 8d1b4ab into cs3org:master Aug 30, 2024
15 of 25 checks passed
glpatcern added a commit to glpatcern/reva that referenced this pull request Sep 13, 2024
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
3 participants