-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
compare cached filesize on download #34232
Conversation
6bacebf
to
646dc24
Compare
does the scanner not automatically update the parent folder's sizes ? |
The scanner does not update parent sizes on it's own |
e2bdfd1
to
3b22c7c
Compare
3b22c7c
to
04a0f9c
Compare
6152063
to
acaafa5
Compare
drone issue looks unrelated. tested on encrypted file, looks good on my side. might need more test !? |
acaafa5
to
2980e68
Compare
Possible performance regression detected Show Output
|
cda568a
to
9ab4e07
Compare
changed it to pass the stream size up through the seekable wrapper |
Possible performance regression detected Show Output
|
Possible performance regression detected Show Output
|
0563952
to
0eed192
Compare
squashed and rebased; also adding a return false if handle is false to keep backward compat on calls to read() working on my side (local files, s3 primary, encrypted) |
0eed192
to
20cf73f
Compare
what's missing to get this merged ? @ArtificialOwl @icewind1991 also see my comments |
@icewind1991 can you do the 2nd review ? |
So ran some manual test.... All tests are made on a
|
testing on encrypted local filesystem for data/:
|
as discussed, @ArtificialOwl will retest on master to see if the encryption behavior is the same. if this PR doesn't affect encryption the let's ship it as is |
On encrypted FS, same test failed the exact same way without the patch |
ok, so this PR doesn't affect encryption behavior, let's merge it |
linter not happy though, please have a look @ArtificialOwl |
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2b610ae
to
cc639a8
Compare
need more test on specific storages (external, s3, ...)
might need a refresh of parent[s] folder cached data
TEST: with master-key encryption