You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by "xiangfu0 (via GitHub)" <gi...@apache.org> on 2023/05/03 04:29:23 UTC

[GitHub] [pinot] xiangfu0 commented on a diff in pull request #10708: [WIP] [multistage]Refactor Mailbox assignment logic to planner

xiangfu0 commented on code in PR #10708:
URL: https://github.com/apache/pinot/pull/10708#discussion_r1183228424


##########
pinot-common/src/main/proto/worker.proto:
##########
@@ -72,15 +72,28 @@ message StagePlan {
   int32 stageId = 1;
   string virtualAddress = 2;
   StageNode stageRoot = 3;
-  repeated StageMetadata stageMetadata = 4;
+  StageMetadata stageMetadata = 4;
 }
 
 message StageMetadata {
   repeated WorkerMetadata workerMetadata = 1;
   map<string, string> customProperty = 2;
+  map<int32, StageMailboxInfo> stageMailboxInfoMap = 3;
 }
 
 message WorkerMetadata {
   string virtualAddress = 1;
   map<string, string> customProperty = 2;
 }
+
+message MailboxInfo {
+  string mailboxId = 1;
+  string mailboxType = 2;
+  string mailboxHost = 3;
+  int32 mailboxPort = 4;
+  map<string, string> customProperty = 5;
+}
+
+message StageMailboxInfo {
+  repeated MailboxInfo mailboxInfo = 1;
+}

Review Comment:
   Done



-- 
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: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org