pub async fn build_kv(
kv: KvBackend,
data_dir: &Path,
slate_s3: Option<&SlateKvS3>,
) -> Result<Arc<dyn KvStore>>Expand description
Build the metadata KV store for the selected KvBackend. When slate_s3 is
set (and the backend is SlateDB), the store runs on R2/S3 (durable across a
scale-to-zero container stop) rather than the local data_dir.