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

Changing a partial harvest next date end up saving the whole harvest hierarchy

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • I53, 4.0
    • 3.20.0
    • GUI
    • None
    • General
    • Rough

    Description

      On Definitions-edit-selective-harvest.jsp, when only assigning a new next date to a partial harvest, leaving all other fields untouched, and then clicking the save button, we go through the method SelectiveHarvestUtils#updateHarvestDefinition, which saves every objects of the harvest hierarchy in the DB, even though nothing but the nextDate has been modified. This ends up in very bad performance on large harvests, and block BnF curators (the connection pool gets saturated).

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 7h
                7h
                Remaining:
                Remaining Estimate - 7h
                7h
                Logged:
                Time Spent - Not Specified
                Not Specified