Uploaded image for project: 'Islandora'
  1. Islandora
  2. ISLANDORA-1086

Utilize defined temporary directory for temporary file operations on serialized bags to reduce unnecessary storage allocation on versioned filesystems

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: BagIt
    • Labels:
      None

      Description

      If the output directory for serialized bags is a versioned filesystem, islandora_bagit creates unnecessary versions while conducting temporary file operations.

      If using existing 'Temporary directory for unserialized Bags' path is undesirable, I suggest a new 'Temporary directory for serialized Bags' setting, or just employ one temporary work directory setting for both kinds of bags and be done with it.

      Regardless, the desired effect is: conduct temporary file operations related to serialized bags in well defined temporary path, then write final output to defined serialized bag output directory.

      Subsequently, when 'Create Bag on object modification' setting is employed, bag modification temporary tasks should also be conducted in defined temporary path, not final output path, again to reduce unnecessary versions when using a versioned filesystem.

      The attached screenshot shows the versioning result of only two bagit operations:
      1. initial bag creation
      2. bag update after metadata update

        Attachments

          Activity

            People

            • Assignee:
              markj Mark Jordan
              Reporter:
              bradspry Brad Spry
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: