Bug #10030

Metadata only AIP re-ingest causes AIP size to be recorded at near-zero

Added by Sarah Romkey almost 6 years ago. Updated almost 6 years ago.

Status:QA/ReviewStart date:06/15/2016
Priority:MediumDue date:
Assignee:Sarah Romkey% Done:

0%

Category:-
Target version:0.9.0
Sponsored:No Requires documentation:
Pull Request:

Description

To reproduce:

- Reingest an AIP and choose Reingest metadata only
- Make an update to the metadata
- Store the AIP

Result: after the AIP is re-stored, in Archival Storage the size of the AIP is recorded at nearly zero (0.02 MB in my test, from an AIP that started as > 2 MB).

History

#1 Updated by Holly Becker almost 6 years ago

  • Status changed from New to Code Review
  • Assignee changed from Holly Becker to Nick Wilkinson

This is a bug between the storage service and Archivematica. When indexing an AIP, Archivematica queries the storage service for the AIP's size, presumably to avoid this sort of bug. However, the storage service accepts the information Archivematica gives it. When storing an AIP, Archivematica calculates the size of the AIP on disk. For a metadata-only reingest, this is incorrect, and the storage service accepts and returns this erroneous information.

Bug fix has the storage service recalculate the size of the AIP when storing it, especially since we may have new preservation derivatives.

#2 Updated by Nick Wilkinson almost 6 years ago

  • Assignee changed from Nick Wilkinson to Jesús García Crespo

#3 Updated by Jesús García Crespo almost 6 years ago

  • Status changed from Code Review to In progress
  • Assignee changed from Jesús García Crespo to Holly Becker

LGTM

#4 Updated by Holly Becker almost 6 years ago

  • Status changed from In progress to QA/Review
  • Assignee changed from Holly Becker to Sarah Romkey

Merged into qa/0.x

#5 Updated by Sarah Romkey almost 6 years ago

  • Project changed from Archivematica to Archivematica Storage Service
  • Category deleted (AIP Management)
  • Target version changed from Release 1.5.1 to 0.9.0

Also available in: Atom PDF