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

JobGenerator doesn't survive database restart

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 4.1
    • 4.0
    • Harvest Definition
    • None
    • Hide

      This is normally tested as part of TEST6. However it does require a database restart which might make it easier to conduct as a local test. Simple

      1. Start a NAS instance
      2. Schedule a job
      3. Stop the database
      4. Wait for exceptions to be visible in the HarvestJobManager log
      5. Restart the database
      6. Schedule some new jobs
      7. Look for normal behaviour: new jobs visible in the GUI, job creation logged in HarvestJobManager logfile
      Show
      This is normally tested as part of TEST6. However it does require a database restart which might make it easier to conduct as a local test. Simple Start a NAS instance Schedule a job Stop the database Wait for exceptions to be visible in the HarvestJobManager log Restart the database Schedule some new jobs Look for normal behaviour: new jobs visible in the GUI, job creation logged in HarvestJobManager logfile

    Description

      Durent a restart of the database during TEST6, new jobs wasn't created. This is properly caused by the generated exception crashing the scheduler task.

      Crash stacktrace attached

      Attachments

        1. deploy_standalone_example_postgres.xml
          14 kB
          Colin Rosenthal
        2. jobgenerator_stacktrace.txt
          16 kB
          Mikis Seth Sørensen

        Issue Links

          Activity

            People

              csr Colin Rosenthal
              mss Mikis Seth Sørensen (Inactive)
              Watchers:
              3 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