You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CommitTimestampFuture violates the Future contract by overriding get() to throw any caught exception other than ExecutionException. Namely, it unwraps any AbortedException and throws that directly.
This breaks any downstream code that operates on that CommitTimestampFuture via the Future interface. For example, transforming it to a Guava ListenableFuture and then calling the kotlinx.coroutines.guava.await extension function on it.
The text was updated successfully, but these errors were encountered:
CommitTimestampFuture
violates theFuture
contract by overridingget()
to throw any caught exception other thanExecutionException
. Namely, it unwraps anyAbortedException
and throws that directly.This breaks any downstream code that operates on that
CommitTimestampFuture
via theFuture
interface. For example, transforming it to a GuavaListenableFuture
and then calling thekotlinx.coroutines.guava.await
extension function on it.The text was updated successfully, but these errors were encountered: