Issue #3259814: If a Cron update fails after it has started the stage should be destroyed
Merge request reports
Activity
added 12 commits
-
1e7c7212...e8bde5a9 - 11 commits from branch
project:8.x-2.x
- 05a0864d - merged 8.x-2.x
-
1e7c7212...e8bde5a9 - 11 commits from branch
107 107 // @todo Use the queue to add update jobs allowing jobs to span multiple 108 108 // cron runs. 109 109 $recommended_version = $recommended_release->getVersion(); 110 $is_applied = FALSE; 110 111 try { 111 112 $this->begin([ 112 113 'drupal' => $recommended_version, 113 114 ]); 114 115 $this->stage(); 115 116 $this->apply(); 117 $is_applied = TRUE; 116 118 $this->destroy(); 117 119 } 118 120 catch (StageValidationException $e) { 119 121 $this->logger->error(static::formatValidationException($e)); changed this line in version 12 of the diff
- Resolved by Adam G-H
added 3 commits
added 11 commits
-
7c42ed73...fbc845c7 - 10 commits from branch
project:8.x-2.x
- 6df23622 - Merge branch '8.x-2.x' into 3259814-if-a-cron
-
7c42ed73...fbc845c7 - 10 commits from branch
- Resolved by Adam G-H
- Resolved by Adam G-H
- Resolved by Adam G-H
- Resolved by Adam G-H
123 125 $this->logger->error($e->getMessage()); 124 126 return; 125 127 } 126 128 finally { 129 // Destroy the stage if it still remains, unless the error happened during 130 // destroy() in which case it is not possible to destroy the stage. changed this line in version 9 of the diff
- Resolved by Adam G-H
- Resolved by Adam G-H
- Resolved by Adam G-H
- Resolved by Adam G-H
- Resolved by Adam G-H
- Resolved by Adam G-H
Please register or sign in to reply