-
Notifications
You must be signed in to change notification settings - Fork 177
Catch and log exceptions in Watchdog runnable to ensure it never stops running #2529
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Catch and log exceptions in Watchdog runnable to ensure it never stops running #2529
Conversation
|
After this is approved, I will also copy the changes over to https://github.com/googleapis/gax-java/blob/master/gax/src/main/java/com/google/api/gax/rpc/Watchdog.java#L114 |
...re-parent/bigtable-client-core/src/main/java/com/google/cloud/bigtable/grpc/io/Watchdog.java
Outdated
Show resolved
Hide resolved
igorbernstein2
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm. But please backport this to the bigtable-1x branch as well
Codecov Report
@@ Coverage Diff @@
## master #2529 +/- ##
============================================
- Coverage 62.34% 62.34% -0.01%
- Complexity 1636 1637 +1
============================================
Files 200 200
Lines 10129 10134 +5
Branches 1035 1035
============================================
+ Hits 6315 6318 +3
- Misses 3351 3353 +2
Partials 463 463
Continue to review full report at Codecov.
|
|
@googlebot rescan |
igorbernstein2
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
…s running (googleapis#2529) * Catch and log all exceptions in Watchdog runnable to ensure it never stops running See https://stackoverflow.com/questions/6894595/scheduledexecutorservice-exception-handling for details * runUnsafe
…s running (#2529) (#2531) * Catch and log all exceptions in Watchdog runnable to ensure it never stops running See https://stackoverflow.com/questions/6894595/scheduledexecutorservice-exception-handling for details * runUnsafe
See https://stackoverflow.com/questions/6894595/scheduledexecutorservice-exception-handling for details
Fixes #2528 ☕️