Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-2091

Prevent hanging imports when starting maintenance mode

      problem

      In general: if activating the maintenance mode this may lead to hanging workers.

      In our hosting: Imports during the night are stopped by the backup. Each night we set maintenance mode to make backups. Also we restart all termtaggers for memory cleanup. This could lead to stucking imports.

      solution

      1. set workers only to running if no maintenance is scheduled! If maintenance is scheduled we leave them waiting
      2. After releasing maintenance a /editor/worker/queue should be triggered to start waiting workers

          [TRANSLATE-2091] Prevent hanging imports when starting maintenance mode

          Thomas Lauria added a comment - - edited

          Missing export part was fixed in TRANSLATE-3117
           
           
           

           

          Thomas Lauria added a comment - - edited Missing export part was fixed in TRANSLATE-3117        

          Reopened since also Export workers were stopped.

          Only import workers should respect the long time before maintenance, all other workers should respect login lock time.

          Thomas Lauria added a comment - Reopened since also Export workers were stopped. Only import workers should respect the long time before maintenance, all other workers should respect login lock time.

            tlauria Thomas Lauria
            tlauria Thomas Lauria
            Thomas Lauria
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: