docs(internode): inventory transport data paths (#3040)

Co-authored-by: Henry Guo <marshawcoco@users.noreply.github.com>
This commit is contained in:
Henry Guo
2026-05-21 23:40:39 +08:00
committed by GitHub
parent 0985f0b37b
commit 2404bc1657
2 changed files with 149 additions and 63 deletions
@@ -90,6 +90,11 @@ pub struct WalkDirStreamRequest {
pub stall_timeout: Option<Duration>,
}
/// Data-plane stream opener used by `RemoteDisk`.
///
/// This boundary is limited to remote disk streams that can move large payloads.
/// Internode metadata, lock, health, and administrative calls remain on the
/// existing gRPC control plane.
#[async_trait]
pub trait InternodeDataTransport: Send + Sync + std::fmt::Debug {
async fn open_read(&self, request: ReadStreamRequest) -> Result<FileReader>;