Skip to content
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

Fix #71: delete redundant copy of file in replica store #72

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

amgciadev
Copy link

This PR fixes #71. It modifies the transferObject method of MountableObjectStore to delete the redundant file copy in replica store, to match the behaviour of LocalObjectStore.

Delete redundant file copy in replica store
@nwoodward
Copy link
Contributor

Hi @amgciadev! My apologies for the delay in getting to this PR. One problem I've had is that I don't have easy access to a mountable filesystem to test it. I read the issue description in #71, and the description in the MountableObjectStore class, and it seems like this is expected behavior. In https://github.com/DSpace/dspace-replicate/blob/main/src/main/java/org/dspace/ctask/replicate/store/MountableObjectStore.java it states that the MountableObjectStore "differs only from LocalObjectStore in that all objects are copied, rather than moved (renamed)." Am I missing something about the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MountableObjectStore does not delete redundant AIP copy in replicate folder
2 participants