Repository navigation
Commit 8f643ad
committed
chore: record debug tag before throwing on unexpected drainedFuture failure
The catch branch in awaitTerminated is reachable only if drainedFuture
is ever completed exceptionally or cancelled — neither happens today,
but if it ever does we should leave a telemetry breadcrumb instead of
just an uncaught IllegalStateException for the caller to puzzle over.
Mirror the precondition-failure pattern used elsewhere in this file
(record at ERROR, then throw).1 parent 97db090 commit 8f643ad
1 file changed
Lines changed: 2 additions & 0 deletions
File tree
- java-bigtable/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/internal/session
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
| 334 | + | |
| 335 | + | |
334 | 336 | | |
335 | 337 | | |
336 | 338 | | |
| |||
0 commit comments