We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71d65c2 commit 8b31d51Copy full SHA for 8b31d51
crates/walrus-service/src/node.rs
@@ -3334,12 +3334,12 @@ impl StorageNodeInner {
3334
shard_map_lock: StorageShardLock,
3335
) -> Result<(), anyhow::Error> {
3336
let this = self.clone();
3337
- tokio::task::spawn_blocking(move || async move {
+ tokio::task::spawn_blocking(move || {
3338
this.storage
3339
.create_storage_for_shards_locked(shard_map_lock, &new_shards)
3340
})
3341
.in_current_span()
3342
- .await?
+ .map(unwrap_or_resume_unwind)
3343
.await?;
3344
Ok(())
3345
}
0 commit comments