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

Activating and deactivating harvest definitions takes a long time

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.16.0, I47
    • 3.14.0, 3.15.0
    • GUI
    • None

    Description

      Activating or deactivating a large harvest definitions takes way too long a time: for instance it takes 2:30 minutes on a harvest definition with about 3,300 configs.

      This is due to the fact that that Definitions-selective-harvests.jsp makes a call to HarvestDefinitionDAO#getHarvestDefinition(String) which reads a hierarchy of thousands of objects ifrom the DB.

      We should instead use the SparsePartialHarvest object and a single request to see if there are configs.

      Note: we should also implement some type of object cache for the full definitions, but this should be done in a separate improvement issue.

      Attachments

        Activity

          People

            ngiraud Nicolas Giraud (Inactive)
            ngiraud Nicolas Giraud (Inactive)
            Søren Vejrup Carlsen Søren Vejrup Carlsen (Inactive)
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 4h
                4h
                Remaining:
                Time Spent - 1h Remaining Estimate - 3h
                3h
                Logged:
                Time Spent - 1h Remaining Estimate - 3h
                1h