-
Notifications
You must be signed in to change notification settings - Fork 189
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
Deleting multiple files with the same name but different origin close together in time results in only one file in the trashbin #2219
Comments
This has been fixed here: cs3org/reva#1833 |
Note: In the core API tests we have a function We could adjust the core API test code so that the I added this to the QA Test Automation project so that we think about doing this... |
@phil-davis I tested removing the wait function between uploads and deletes. |
The test for this is likely to have intermittent passes on Let's add a test scenario in oC10 core that does lots of deletes quickly... And add a way to control the test sleeping behavior in Then we can control this in each CI - in oC10 we can define the env var to |
We implemented owncloud/core#38929 and CI knows to wait 1 second between multiple uploads, deletes etc. in the appropriate test pipelines. We know that this "1-second rule" is an accepted feature/limitation of oC10 and some oCIS storage drivers. |
Describe the bug
When multiple files with the same name but different original location are deleted such that the time gap between their deletion is negligible, only the last deleted file is present in the trashbin.
Steps to reproduce
Steps to reproduce the behavior:
folderA
,folderB
,folderC
, andfolderD
.textfile0.txt
textfile0.txt
to all the folders created in step 1.textfile0.txt
,folderA/textfile0.txt
,folderB/textfile0.txt
,folderC/textfile0.txt
, andfolderD/textfile0.txt
Expected behavior
All the deleted resources should exist in the trashbin.
Actual behavior
Only the file
folderD/textfile0.txt
is present in the trashbin.Setup
Please describe how you started the server and provide a list of relevant environment variables.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: