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

Inefficient coding in BitarchiveAdmin

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.1
    • Component/s: Archive
    • Labels:
      None

      Description

      Jens Henrik has reported that bitapps make far too many directory scans. In BitarchiveAdmin.moveToStorage() there is a call to updateFileList which rescans an entire storage directory, taking many minutes. This appears to ne unnecessary. Why not just add the file to the relevant data structure and update the archiveTime accordingly?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                csr Colin Rosenthal
                Reporter:
                csr Colin Rosenthal
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 5m
                  5m