On Fri, Dec 13, 2019 at 08:11:51AM -0800, Hardy Pottinger wrote: > Hey, Francis. It has been more than three years since I have run a DSpace > instance on Oracle, but I do remember doing research on this exit path, and > running into "issues." My memory has faded a bit, I did not retain the > notes, and I do not actively maintain a DSpace instance any more (and thus > am an Emeritus Committer). However, with those caveats... > > > If we re-run the step above will it overwrite the items? > > I say this because the import process has the replace flag. Or will we > have to incur the > > same Google Cloud Costs for network transfer when we do this "for > > real" > > I believe that the replace flag is for situations where you do not want to > create a new item (i.e. "mint a new handle"). I do think that you would > still be "pushing bits" if you re-run your AIP load. Looking at the code > for the AIP restore process might give you an answer? I'll check in a bit > and let you know what I find.
The answer seems to be in AbstractMETSIngester#replaceObject. It deletes all bitstreams and metadata from the object and then adds the new ones. I don't see any check for identical content. That might be a nice enhancement. Everything that you really need should be in the database. The existing Bitstreams' checksums could be compared to their replacements without touching remote storage. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu -- All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/ --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/20191213164349.GA32582%40IUPUI.Edu.
signature.asc
Description: PGP signature
