Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-31071

Blob store reconcile task should take precedence over database backup task

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.37.3
    • Fix Version/s: 3.39.0
    • Component/s: Scheduled Tasks
    • Labels:
    • Story Points:
      3
    • Release Note:
      Yes
    • Sprint:
      NXRM Sentinels Sprint 30, NXRM Sentinels Sprint 31
    • Notability:
      4
    • InvestmentLayer:
      support-escalated
    • Aha Concept:
      non-concept

      Description

      When a user runs the "repair: reconcile component database from blob storage" task they are usually in the process of trying to recover from an outage of some sort.  Common scenarios are restoring from backup due to disaster recovery, recovering components or entire repositories that were deleted by mistake, or recovery of consistency between blob storage and database caused by a product defect.  The reconcile task can take a very long time to run on large instances (sometimes days).  When it is running in the these scenarios it is critical that it should not be interrupted.   

      We've seen many cases over the last few years where long running reconcile tasks have been interrupted and had to be started over again.

      Consequentially, I'm proposing that the database backup task should not be allowed to run if there is a currently running reconcile task. Note that the reconcile task is cancellable, so a user can always stop the task if they really need database backup to run.

      Expected: The database backup task will wait to run if there is a currently running reconcile task.  

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mallen Mick Allen
              Reporter:
              rseddon Rich Seddon
              Last Updated By:
              Michael Oliverio Michael Oliverio
              Team:
              NXRM - Sentinels
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title