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 withNotReadybefore 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
NotReadyerror rather than a definitiveOk(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§
- NotReady
Rlmm - A
RemoteLogMetadataManagerthat returnsRemoteStorageError::NotReadyfor every method.