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

Support storages that do not implement the CS3API Lock interface #125

Closed
glpatcern opened this issue Jun 28, 2023 · 1 comment · Fixed by #129
Closed

Support storages that do not implement the CS3API Lock interface #125

glpatcern opened this issue Jun 28, 2023 · 1 comment · Fixed by #129

Comments

@glpatcern
Copy link
Member

This is for now food for thought.

In Reva, we are able to support storage drivers on top of WebDAV-based systems, which do not necessarily implement the full CS3API storage provider interface. In particular, the Lock API may be missing or not working.

We may want to detect that (from the response of a SetLock call) and implement an alternative based on xattrs (SetArbitraryMetadata). Surely not race-proof but it might be better than completely bailing out.

@glpatcern
Copy link
Member Author

PoC implementation was done to target ScienceMesh apps for OC and NC, as the Reva storage provider for nextcloud does not implement to date the Lock API (see sciencemesh/nc-sciencemesh#53)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant