ChenSammi commented on code in PR #3342:
URL: https://github.com/apache/ozone/pull/3342#discussion_r859354971
##########
hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/scm/net/Node.java:
##########
@@ -98,4 +98,12 @@ public interface Node {
* @return true if this node is an ancestor of <i>n</i>
*/
boolean isAncestor(Node n);
+
+ /**
+ * Judge if this node is under a specific scope.
Review Comment:
Judge if this node is a descendant of the node representing by the nodePath.
Descendant includes itself and all child generations.
--
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]