From 62505ef38d924d35c832bcb71fdd6b51c3a01902 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Fri, 18 Apr 2014 11:02:23 -0700 Subject: [PATCH] Made runParallelBatches() fully set the status array on abort Change-Id: Ie35b28b85e734db6910a42ed384374ba3d594a8e --- includes/filebackend/FileOpBatch.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/filebackend/FileOpBatch.php b/includes/filebackend/FileOpBatch.php index e90fcb7820..56d7000982 100644 --- a/includes/filebackend/FileOpBatch.php +++ b/includes/filebackend/FileOpBatch.php @@ -152,6 +152,8 @@ class FileOpBatch { // 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; -- 2.20.1