gavinchou commented on code in PR #56116:
URL: https://github.com/apache/doris/pull/56116#discussion_r2371621384


##########
gensrc/proto/internal_service.proto:
##########
@@ -1063,6 +1063,40 @@ message PAbortRefreshDictionaryResponse {
     optional PStatus status = 1;
 }
 
+message CacheBlockReqest {
+    // PEER_FILE_CACHE_BLOCK
+    optional int64 block_offset = 1;
+    optional int64 block_size = 2;
+}
+
+message PFetchPeerDataRequest {
+    enum Type {
+        PEER_FILE_RANGE = 1;
+        PEER_FILE_CACHE_BLOCK = 2;
+    }
+    optional Type type = 1;
+    // obj path, let peer calc hash, and download file cache
+    // PEER_FILE_RANGE and PEER_FILE_CACHE_BLOCK use
+    optional string path = 2;
+
+    // PEER_FILE_RANGE
+    optional int64 file_offset = 3;
+    optional int64 file_size = 4;
+    // PEER_FILE_CACHE_BLOCK
+    repeated CacheBlockReqest cache_req = 5;
+}
+
+message CacheBlock {

Review Comment:
   naming CacheBlockPB



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to