googleapis / java-spanner

Apache License 2.0
55 stars 110 forks source link

chore: propagate RuntimeException from DelayedReadContext #3150

Closed olavloite closed 2 months ago

olavloite commented 2 months ago

Propagate the underlying cause of the ExecutionException as a RuntimeException directly, if this is already a RuntimeException. This keeps the behavior of multiplexed sessions and regular sessions equal, regardless whether the Delayed... route is taken for multiplexed sessions, or the direct route is used.

Fixes #3132