-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Cannot browse web UI, locked, during concurrent upload #16998
Comments
Regression introduced by the scanner PR regarding locking: #16729 (comment) |
Not to strong, it's locked since it can't scan the newly created file. What is the exact expected behavior? having the root folder without the new file in it? We could catch the locked exception in the cache watcher and return the existing (slightly outdated) cache data of the folder. |
Hmmm good point. Not showing it might be fine too. But beware of overwrites. Might be easier to always show it. |
Wont happen due to locking |
This PR fixes it #16963 |
Fixed by #16963 |
Steps
sleep(30)
here https://github.com/owncloud/core/blob/master/lib/private/connector/sabre/file.php#L205 before the final rename after uploadExpected result
Root is browseable
Actual result
Internal server error
Happens on latest master (bfa716a)
@icewind1991 seems one of the locks is too "strong" ?
The text was updated successfully, but these errors were encountered: