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

Improve on HarvestControllerServer status messaging

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 3.18.0, I49
    • 3.17.0
    • None
    • None
    • Hide
      1. Start a NAS system with the default 'settings.harvester.harvesting.sendStatusDelay' of 1 minut(60 seconds).
      2. Verify all Harvester is marked as available inside of 1 minut by looking at the HarvestJobManager logs.
      3. Create a selective harvest and activate it.
      4. Verify that the Harvester is marked as unavailable immediately after is starts the job.
      5. Wait for the job to finish.
      6. Verify that the Harvester is marked as available immediately after the job is finished.
      Show
      Start a NAS system with the default 'settings.harvester.harvesting.sendStatusDelay' of 1 minut(60 seconds). Verify all Harvester is marked as available inside of 1 minut by looking at the HarvestJobManager logs. Create a selective harvest and activate it. Verify that the Harvester is marked as unavailable immediately after is starts the job. Wait for the job to finish. Verify that the Harvester is marked as available immediately after the job is finished.

    Description

      The current HarvestController just send a status message every SEND_STATUS_DELAY. We should extend this with the following sequence:

      • On start or finish of Job:
        • Check if a new job is available on the queue.
        • Start on this if it is available.
        • If no job is available send a 'Available' message.

      The scheduled sending of status should continue to avoid that a loss of a 'Available' message causes the HarvestJobManager to never become aware of the available harvester.

      Attachments

        Issue Links

          Activity

            People

              mss Mikis Seth Sørensen (Inactive)
              mss Mikis Seth Sørensen (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 - 6h
                  6h
                  Remaining:
                  Time Spent - 2h Remaining Estimate - 4h
                  4h
                  Logged:
                  Time Spent - 2h Remaining Estimate - 4h
                  2h