Fix ConnectionErrorProof response count on single node read errors (#1739)

Co-authored-by: Till Krüss <tillkruss@users.noreply.github.com>
This commit is contained in:
dualfrozandTill Krüss committed 2026-10-08 09:34:40 -07:00
1 parent 839ef60ab2
commit 343a812a2b
3 files changed
+63 -6

No files matched your search

+1 -1
View File
@@ -73,7 +73,7 @@ class ConnectionErrorProof extends Pipeline
try {
$responses[$i] = $connection->readResponse($command);
} catch (CommunicationException $exception) {
$add = count($commands) - count($responses);
$add = $sizeOfPipe - count($responses);
$responses = array_merge($responses, array_fill(0, $add, $exception));
break;