-
-
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
Basic auth requests always set up the filesystem #31357
Comments
I think chunked upload cleanup already has a cron job: #30772 |
This seems to only cleanup parts from the very old chunking https://github.com/owncloud/core/wiki/spec%3A-big-file-chunking, mabye something we can get rid of then. @tobiasKaminsky can maybe check if that is still used in any way in the clients as I found at least a code occurence for desktop: https://github.com/nextcloud/desktop/blob/4135b757b9599f95376a416761ad5cf3116411a9/src/libsync/propagateuploadv1.cpp#L115 but I'd think everything is using the new chunked upload anyways |
Other than that there seems to be no usage of the |
Discussed with @mgallien we will remove support with 3.7 and announce this in release notes. |
Is this being used as a fallback only? Would it be a problem for older clients of we drop the support in server e.g. for 26? |
the new chunking algorithm has been released with 2.3.0 desktop client release from Mar 3, 2017 I mean that it should be safe to remove this deprecated code in the 26 server release |
@mgallien once you have removed it in Desktop, please link it here, so that we have this for reference :) |
We can bump
|
see #35425 |
Another usage is any class that injects ICache: Lines 706 to 710 in 7c4ceb4
Might be harder to find all cases, but maybe we can actually switch this to a ArrayCache or local memory cache instance instead. |
Reopening since #36589 was reverted for now |
#36787 has details about the issues that were caused |
ToDo
If a request is authenticated and does not use cookies, it will always set up the filesystem.
The reason is the post-login gc we do:
server/lib/base.php
Lines 815 to 831 in e6d9ef2
I think it is time to move that to a proper cron job instead. It would potentially clean up chunked upload attempts but there is no need to do this with every successful login?!
The text was updated successfully, but these errors were encountered: