diff options
| author | udovichenko-r <[email protected]> | 2024-11-12 22:07:14 +0300 |
|---|---|---|
| committer | udovichenko-r <[email protected]> | 2024-11-12 22:26:48 +0300 |
| commit | 11ce3a1deefd91271a3cd3532f906844920ea34b (patch) | |
| tree | 42f550788ce31015134c9b42c623e2ae184bc76d /yql/essentials/core/yql_graph_transformer.cpp | |
| parent | fa5655229271d7a09cce8033d1097f1b03daf94e (diff) | |
Apply GH commits
Apply GH: Stop wide combiner state from growing unlimited (#10997)
Apply GH: Reconnect session has been supported (#9862)
Apply GH: Handle unexpected future exception (#11091)
commit_hash:c2597abeae3a153692a80cc13446423769765ae1
Diffstat (limited to 'yql/essentials/core/yql_graph_transformer.cpp')
| -rw-r--r-- | yql/essentials/core/yql_graph_transformer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yql/essentials/core/yql_graph_transformer.cpp b/yql/essentials/core/yql_graph_transformer.cpp index 105e11846ae..5248ee1597f 100644 --- a/yql/essentials/core/yql_graph_transformer.cpp +++ b/yql/essentials/core/yql_graph_transformer.cpp @@ -249,7 +249,7 @@ IGraphTransformer::TStatus SyncTransform(IGraphTransformer& transformer, TExprNo auto future = transformer.GetAsyncFuture(*root); future.Wait(); - YQL_ENSURE(!future.HasException()); + HandleFutureException(future); status = transformer.ApplyAsyncChanges(root, newRoot, ctx); if (newRoot) { @@ -377,7 +377,7 @@ void AsyncTransform(IGraphTransformer& transformer, TExprNode::TPtr& root, TExpr NThreading::TFuture<IGraphTransformer::TStatus> status = AsyncTransform(transformer, root, ctx, applyAsyncChanges); status.Subscribe( [asyncCallback](const NThreading::TFuture<IGraphTransformer::TStatus>& status) mutable -> void { - YQL_ENSURE(!status.HasException()); + HandleFutureException(status); asyncCallback(status.GetValue()); }); } |
