ChenSammi commented on code in PR #3342:
URL: https://github.com/apache/ozone/pull/3342#discussion_r859353735
##########
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.
+ *
+ * @param scope the scope
+ * @return true if this node is under a specific scope
+ */
+ boolean isUnderScope(String scope);
Review Comment:
isUnderScope -> isDescendant
--
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]