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
Problem: currentlyProcessing is not empty after transfer is done #1113
Comments
@jorikvankemenade we've marked this Low severity because while we recognize it's an issue it's never really come up as a major problem or hit on performance- but can you let us know if you have found otherwise. |
@sromkey I understand the priority. With about 0.5MB per transfer, it is not a big problem. Even when running a lot of transfers it is manageable. I would like to suggest to mark it as a regression since it is introduced on the QA branch. |
I just did some digging. I am sure that the problem is the last "Move to SIP creation directory for completed transfers". This moves the folder structure I just described to |
The step I am talking about is removed in this PR. We might have to move this step back into the workflow, but I am not sure if this has any consequences. The PR description also briefly mentions this problem, but not really any solution to it. Before fixing this, it might be good to think if the whole completed transfer folder is wanted/used. If this is not the case then we need to make sure that this "extra" folder is deleted, rather then moved. |
In our local environment we reverted the PR @jorikvankemenade mentioned, the behavior of not deleting the currentlyProccessing contents remains. This bug is preventing new transfers to be started in our environment. For us this is high impact. |
Could you maybe clarify this a bit? How is not deleting the currently processing contents preventing new transfers from being started? Or is the problem of transfers not being started new, and caused by reverting the PR. If this is the case, I wouldn't be surprised. Reverting that PR changes the workflow. This can cause problems if this means that the workflow never hits a terminal link. See #1055 and this PR for some extra information on the termination of workflows. |
By reverting the PR we investigated if the |
Comment on the forum about the correctness of the database at this stage in the transfer too. It'd be a good idea to peek into it a bit more with some deeper analysis: https://groups.google.com/g/archivematica/c/f3C_2gdgY0U/m/PUBZbF3dAAAJ |
I confirm the same functioning observed by Jorik and FransPicturae. |
This commit removes the original transfer directory that Archivematica leaves under `sharedDirectory/currentlyProcessing`. It does not truncate related database entries, that's beign tackled as part of issue 1239. Connects to archivematica/Issues#1239. Connects to archivematica/Issues#1113.
This commit removes the original transfer directory that Archivematica leaves under `sharedDirectory/currentlyProcessing`. It does not truncate related database entries, that's being tackled as part of issue 1239. Connects to archivematica/Issues#1239. Connects to archivematica/Issues#1113.
This commit removes the original transfer directory that Archivematica leaves under `sharedDirectory/currentlyProcessing`. It does not truncate related database entries, that's being tackled as part of issue 1239. Connects to archivematica/Issues#1239. Connects to archivematica/Issues#1113.
Expected behaviour
When a transfer has completed successfully all traces are removed from the
currentlyProcessing
directory.Current behaviour
When a transfer has completed successfully a folder containing some of the by-products remain in the
currentlyProcessing
directory. An example:When comparing the workflow of a
qa/1.x
with a 10.1 version I see that there is a difference in the workflow. Is it possible that some step that should clean up this file has accidentally been removed from the workflow?qa
10.1
Steps to reproduce
Run any sample transfer and check the contents of the
currentlyProcessing
directory.Your environment (version of Archivematica, operating system, other relevant details)
Latest qa/1.x branch
For Artefactual use:
Before you close this issue, you must check off the following:
The text was updated successfully, but these errors were encountered: