pub async fn build_standalone_wal_provider(
wal: &DatanodeWalConfig,
node_id: Option<DatanodeId>,
kv_backend: KvBackendRef,
) -> Result<WalProvider>Expand description
Builds the WAL provider that allocates region WAL options in standalone mode.
The object store WAL allocates the node prefix of node_id, the datanode id
of the standalone instance; an absent id is treated as 0, the id
StandaloneOptions::datanode_options assigns.