Skip to content

Commit 326165a

Browse files
Add Vitess-specific safe to retry errors (#56615)
1 parent 64d5107 commit 326165a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Illuminate/Database/LostConnectionDetector.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,12 @@ public function causedByLostConnection(Throwable $e): bool
8383
'Connection lost',
8484
'Broken pipe',
8585
'SQLSTATE[25006]: Read only sql transaction: 7',
86+
'vtgate connection error: no healthy endpoints',
87+
'primary is not serving, there may be a reparent operation in progress',
88+
'current keyspace is being resharded',
89+
'no healthy tablet available',
90+
'transaction pool connection limit exceeded',
91+
'SSL operation failed with code 5',
8692
]);
8793
}
8894
}

0 commit comments

Comments
 (0)