-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
finagle-mysql: Don't log exceptions if we fail to rollback a transact…
…ion and it was a ChannelClosedException Problem: If a rollback fails due to a ChannelClosedException, the logs are very spammy and leads devs triaging issues to falsely blame them. Solution: If the rollback fails due to a ChannelClosedException (which happens if the underlying service has already been closed by a lower-level call), don't log the exception Result: Any rollbacks that fail due to a ChannelClosedExceptions don't log the exception, but we still poison the connection and try and close it again. JIRA Issues: CSL-8242 Differential Revision: https://phabricator.twitter.biz/D327111
- Loading branch information
Ryan Guthrie
authored and
jenkins
committed
Jun 12, 2019
1 parent
e50f864
commit 29cfffe
Showing
3 changed files
with
49 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters