about summary refs log tree commit diff
path: root/tvix/store/protos/rpc_blobstore.pb.go
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-02-03T21·53+0100
committerflokli <flokli@flokli.de>2023-02-07T14·14+0000
commit87e1934f2d08127cc064279a02b462eabbbdf3ee (patch)
tree94c5b2af9d549a22cbea24904e4119b2acc59591 /tvix/store/protos/rpc_blobstore.pb.go
parent0a27344953e9c5c46519758a8ef6dc2bbe2ed18a (diff)
docs(store/protos): update comment on blobstore Read and Put r/5840
Further emphasize Read() can be used to ask for blobs OR chunks, and
that clients usually want to stat and then request (smaller) chunks,
rather than reading whole blobs.

Also clarify that the chunking used to send BlobChunks over has nothing
to do with the chunk sizes communicated in a Stat() request.

Change-Id: Ia615d190aae570611de2655b11342a14d0b75976
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8028
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/store/protos/rpc_blobstore.pb.go')
-rw-r--r--tvix/store/protos/rpc_blobstore.pb.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/store/protos/rpc_blobstore.pb.go b/tvix/store/protos/rpc_blobstore.pb.go
index 426a2836dfae..853a040130a4 100644
--- a/tvix/store/protos/rpc_blobstore.pb.go
+++ b/tvix/store/protos/rpc_blobstore.pb.go
@@ -161,7 +161,7 @@ type ReadBlobRequest struct {
 	sizeCache     protoimpl.SizeCache
 	unknownFields protoimpl.UnknownFields
 
-	// The blake3 digest of the blob requested
+	// The blake3 digest of the blob or chunk requested
 	Digest []byte `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"`
 }