Merge pull request #43285 from nextcloud/fix/db/dirty-read-transaction-message

fix(db): Give dirty read exception a message
pull/43568/head
Christoph Wurst 4 months ago committed by GitHub
commit 76111e9e21
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -282,7 +282,7 @@ class Connection extends PrimaryReadReplicaConnection {
[
'tables' => $this->tableDirtyWrites,
'reads' => $tables,
'exception' => new \Exception(),
'exception' => new \Exception('dirty table reads: ' . $sql),
],
);
// To prevent a dirty read on a replica that is slightly out of sync, we

Loading…
Cancel
Save