jenkins-bot has submitted this change and it was merged.
Change subject: Made runParallelBatches() fully set the status array on abort
......................................................................
Made runParallelBatches() fully set the status array on abort
Change-Id: Ie35b28b85e734db6910a42ed384374ba3d594a8e
---
M includes/filebackend/FileOpBatch.php
1 file changed, 2 insertions(+), 0 deletions(-)
Approvals:
Chad: Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/filebackend/FileOpBatch.php
b/includes/filebackend/FileOpBatch.php
index e90fcb7..56d7000 100644
--- a/includes/filebackend/FileOpBatch.php
+++ b/includes/filebackend/FileOpBatch.php
@@ -152,6 +152,8 @@
// We can't continue (even with $ignoreErrors)
as $predicates is wrong.
// Log the remaining ops as failed for
recovery...
foreach ( $performOpsBatch as $i => $fileOp ) {
+ $status->success[$i] = false;
+ ++$status->failCount;
$performOpsBatch[$i]->logFailure(
'attempt_aborted' );
}
continue;
--
To view, visit https://gerrit.wikimedia.org/r/127279
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie35b28b85e734db6910a42ed384374ba3d594a8e
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Chad <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits