-
Notifications
You must be signed in to change notification settings - Fork 1
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
Multiple files created on multiple upload #108
Comments
And I just now got it consistently: Grab
Then look in the test-414 dir and you'll see two copies. Interestingly, I made a test specifically to check for dupes. And when it runs, only one file results on the server. The following command upload twice without creating a dupe in the
|
This may have been an issue related to the deployed state of the cache, which had a bug where it would trust the cache a little too much when checking for the existence of files. If that's the case, it will be resolved by #117 I'll give this a try as well though, after production deployment, and if it seems to be working I'd ask that you re-run again to confirm that it's working for you too. |
@fenn-cs Would you please re-run this and report back here? |
Unfortunately, this bug still exists. Running
each time would result in the
The resulting effect is that a new file would be created on Permanent which can be seen in the UI. |
Update. This bug seems to only affect files with asterisks ( Debug path
Other ObservationsLooks like our normalization of names is too wild? or maybe not BUT here is what display names look like on permanent $fsNameToPermanentDisplayName = [
'*' => '-',
'file*.txt' => 'file-.txt',
'file.*txt' => 'file.*txt',
'*txt' => '-.txt'
];
|
Interesting -- is there a reason that our normalizer is replacing |
@fenn-cs what's the current status of this? Is there action that needs to happen on the backend / downloadName logic to prevent it? |
+1 to not sweating this.
…On Wed, Apr 19, 2023, 15:51 F. E Noel Nfebe ***@***.***> wrote:
I and @jvasile <https://github.com/jvasile> deprioritized this. To focus
on testing if regular file names that are more common work correctly.
As for this, If I should continue looking at this I think it should be
from the backend.
cc @slifty <https://github.com/slifty>
—
Reply to this email directly, view it on GitHub
<#108 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABTXFZVIUVCW54UQXQNAKTXCA63VANCNFSM6AAAAAAV5ML3OU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
rclone copy
of the same file multiple times results in multiple copies.Expected behavior: rclone and sftp-service notice that the file is already there and doesn't make a second copy
The text was updated successfully, but these errors were encountered: