Uploaded image for project: 'mod-source-record-manager'
  1. mod-source-record-manager
  2. MODSOURMAN-426

Job Status Is "stuck" when no other updates in background

    XMLWordPrintable

    Details

    • Template:
      Standard Bug Write-Up Format
    • Sprint:
      Folijet Sprint 112
    • Story Points:
      3
    • Development Team:
      Folijet
    • Release:
      R1 2021 Bug Fix

      Description

      Overview:

      The job status indicator on the data-import page does not get updated and appears to be "stuck" at some percentage when there are issues in the background services, such as a premature ending when the messages on Kafka are truncated before they are consumed. When this happened, no more messages means no more notifications for other modules to complete the job The UI hangs at the last percentage that it reported.

      Steps to Reproduce:

      1. Set the Kafka's log.rentention.minutes to something small, but large enough, like 50 minutes, so that importing a 59K records file will take a long time.
      2. Import a 50K records file using the profile to create instances, holdings, and items.
      3. Wait for a couple of hours. Check that there are no new instance/holdins/or items created. 
      4. View the job's description. Its completion percentage bar is not moving at ll

      Expected Results:

      • The job would indicate "Error" or "Completed with errors"
        Actual Results:
      • No progress of the job gets updated.
      • This task only creates a way to end stuck jobs, not monitoring of the whole Data Import process

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                OleksiiKuzminov Oleksii Kuzminov
                Reporter:
                mtraneis Martin Tran
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases