File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ use futures_util::StreamExt;
2626use futures_util:: stream:: FuturesUnordered ;
2727use itertools:: Itertools ;
2828use mz_ore:: soft_assert_eq_or_log;
29- use mz_ore:: task:: JoinHandle ;
29+ use mz_ore:: task:: { JoinHandle , JoinHandleExt } ;
3030use mz_persist:: indexed:: encoding:: BlobTraceUpdates ;
3131use mz_persist:: location:: Blob ;
3232use mz_persist:: metrics:: ColumnarMetrics ;
@@ -597,9 +597,7 @@ where
597597
598598 let wrong_sort = data. run_meta . order != Some ( RunOrder :: Structured ) ;
599599 let fetch_result: anyhow:: Result < FetchResult < T > > = match task. take ( ) {
600- Some ( handle) => handle
601- . await
602- . unwrap_or_else ( |join_err| Err ( anyhow ! ( join_err) ) ) ,
600+ Some ( handle) => handle. wait_and_assert_finished ( ) . await ,
603601 None => {
604602 data. clone ( )
605603 . fetch (
You can’t perform that action at this time.
0 commit comments