Uploaded image for project: 'NetarchiveSuite'
  1. NetarchiveSuite
  2. NAS-1908

Bitarchive dirs need to be used in a row

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.17.0, I48
    • 3.16.1
    • Archive
    • None
    • ONB
      1. Tested in trunk/tests/dk/netarkivet/archive/bitarchive/BitarchiveAdminTesterONB

    Description

      If you have more than one directory for storing arc files, you can add all directories under <bitarchive><baseFileDir> in the settings.xml. Each directory is a baseFileDir Entry under bitarchive.
      If a directory doesn't provide enough diskspace the next directory will be taken. It is expected - and in our case it is mandatory - that the order of directory will be taken from entries under the bitarchive tag in settings.xml. The direcories should be used in the same row.
      Actually the direcories will be read in the correct order but later in the BitarchiveAdmin class, these entries will be put in a HashMap. And this class doesn not guarantee that the order will remain constant over time. So that order which is giving back might be correct or not.

      Attachments

        Activity

          People

            aponb Andreas P
            aponb Andreas P
            Søren Vejrup Carlsen Søren Vejrup Carlsen (Inactive)
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: