Skip to content

Commit de4bda6

Browse files
authored
fix(storage): fix multi builder data loss (cherry pick #17730) (#17731)
1 parent bc888dd commit de4bda6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/storage/src/hummock/sstable/multi_builder.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,9 @@ where
335335
self.seal_current().await?;
336336
try_join_all(self.concurrent_upload_join_handle.into_iter())
337337
.await
338-
.map_err(HummockError::sstable_upload_error)?;
338+
.map_err(HummockError::sstable_upload_error)?
339+
.into_iter()
340+
.collect::<HummockResult<Vec<()>>>()?;
339341
Ok(self.sst_outputs)
340342
}
341343
}

0 commit comments

Comments
 (0)