tanvipenumudy commented on code in PR #5391:
URL: https://github.com/apache/ozone/pull/5391#discussion_r1487274807


##########
hadoop-hdds/interface-client/src/main/proto/hdds.proto:
##########
@@ -497,3 +498,26 @@ message CompactionLogEntryProto {
     repeated CompactionFileInfoProto outputFileIntoList = 4;
     optional string compactionReason = 5;
 }
+
+message NodeImpl {
+    required string name = 1;
+    required string location = 2;
+    required uint32 cost = 3;
+    required uint32 level = 4;
+}
+
+message NodeInterface {
+    optional DatanodeDetailsProto datanodeDetails = 1;
+    optional InnerNode innerNode = 3;
+}
+
+message ChildrenMap {
+    required string networkName = 1;
+    required NodeInterface nodeType = 2;
+}
+
+message InnerNode {
+    required NodeImpl nodeImpl = 1;
+    required uint32 numOfLeaves = 2;
+    repeated ChildrenMap childrenMap = 3;

Review Comment:
   Noted, thank you for the review. I have marked the above proto message 
fields as optional.



-- 
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