mirror of
https://github.com/neondatabase/neon.git
synced 2026-06-03 05:20:38 +00:00
doc: cancellation safety with evict_and_wait
This commit is contained in:
@@ -166,7 +166,8 @@ impl Layer {
|
||||
/// If for a bad luck or blocking of the executor, we miss the actual eviction and the layer is
|
||||
/// re-downloaded, [`EvictionError::Downloaded`] is returned.
|
||||
///
|
||||
/// Cancellation safe.
|
||||
/// Technically cancellation safe, but cancelling might shift the viewpoint of what generation
|
||||
/// of download-evict cycle on retry.
|
||||
pub(crate) async fn evict_and_wait(
|
||||
&self,
|
||||
rtc: &RemoteTimelineClient,
|
||||
|
||||
Reference in New Issue
Block a user