doc: note unhandled case

This commit is contained in:
Joonas Koivunen
2023-05-05 00:54:36 +03:00
parent a543e7081f
commit 1c20cea537

View File

@@ -1458,6 +1458,11 @@ impl Tenant {
Some(Ok(())) => return Ok(()),
Some(Err(e)) if e.is_permanent() => return Err(DeleteTimelineError::from(e)),
Some(Err(_retryable)) => true,
// FIXME: if the task panics without getting to the send_replace, we will be
// stuck here, so perhaps this should be a futures::future::Shared, only
// communicate with the joinhandle return value?
//
// there is no test for this yet
None => false,
};