Skip to main content

Module not_ready

Module not_ready 

Source
Expand description

NotReadyRlmm: a fail-closed RemoteLogMetadataManager placeholder.

This type is the SwappableRlmm placeholder during the topic-backed bootstrap window. Every method returns RemoteStorageError::NotReady immediately:

  • The copy task’s first call, add_remote_log_segment_metadata, fails with NotReady before it copies any data. Nothing is therefore tiered with non-durable metadata, and no orphaned RSM objects accumulate in the remote store while the real manager still initialises.
  • Remote reads return a retryable NotReady error rather than a definitive Ok(None), so callers retry until the real manager swaps in and catches up to the high-water mark.

This placeholder is stricter than krabka_remote_storage::InmemoryRemoteLogMetadataManager, which silently accepts writes that are then lost when the real manager replaces it.

Structs§

NotReadyRlmm
A RemoteLogMetadataManager that returns RemoteStorageError::NotReady for every method.