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

File & Folder locking #15122

Closed
DeepDiver1975 opened this issue Mar 23, 2015 · 7 comments
Closed

File & Folder locking #15122

DeepDiver1975 opened this issue Mar 23, 2015 · 7 comments

Comments

@DeepDiver1975
Copy link
Member

Solution Approach

  • add columns to filecache table identifying the lock state (lock user or lock client or lock session id, lock timeout)
  • operations lock folders and files before performing operations
  • access to folders and files which are locked results in exception and http status code 415/Locked
  • lock status is exposed via webdav properties
  • lock status is visible in the web browser
  • web dav clients CANNOT actively loc files/folders
@DeepDiver1975 DeepDiver1975 added this to the 8.2-next milestone Mar 23, 2015
@DeepDiver1975
Copy link
Member Author

@karlitschek as just discussed

@DeepDiver1975
Copy link
Member Author

Alternative approach which might help in searching the file hierarchy is to have an isolated lock table.

@PVince81 we have been talking about this right.

@PVince81
Copy link
Contributor

We already had a ticket: #11804

@PVince81
Copy link
Contributor

An isolated lock table is maybe better, but if we map it by file id we might get in trouble in some situations...

@DeepDiver1975
Copy link
Member Author

An isolated lock table is maybe better, but if we map it by file id we might get in trouble in some situations...

FK time ...

@DeepDiver1975
Copy link
Member Author

let's close this on and continue in #11804

@PVince81
Copy link
Contributor

With trouble I was mostly thinking of unstable file ids: #13310

@MorrisJobke MorrisJobke removed this from the 8.2-next milestone Mar 24, 2015
@lock lock bot locked as resolved and limited conversation to collaborators Aug 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants