-
-
Notifications
You must be signed in to change notification settings - Fork 4.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
Get filesize()
if file_exists()
#28768
Conversation
/backport to stable22 |
/backport to stable21 |
/backport to stable20 |
Seems a bit more like hiding the symptoms, do you have any idea why the files are present in the getDirectoryContent call but not when checking the filesize afterwards? server/apps/files_versions/lib/Storage.php Line 590 in 5f101d9
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@juliushaertl i've possibly found the root cause; files are on a NFSv4 link, not a very fast one. 2 servers are running in front of it, production with Apache + PHP, and a spare, with PHP + MySQL + Redis. NFS is mounted on both servers, but cronjobs are run from the second (spare) server; so this might be the cause of this race condition? Nevertheless, this fixes those errors. |
This comment has been minimized.
This comment has been minimized.
Should make sense.
07700d2
to
3a25183
Compare
Should make sense.
Fix #28717