Caideyipi commented on code in PR #18688:
URL: https://github.com/apache/iotdb/pull/18688#discussion_r4355573421
##########
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/path/PathPatternNode.java:
##########
@@ -248,6 +254,14 @@ void serializeChildren(DataOutputStream outputStream)
throws IOException {
}
}
+ void clear() {
+ if (Objects.nonNull(valueSet)) {
+ valueSet.clear();
+ }
+ children.clear();
+ childrenPatternsWithNonTrivialWildcard.clear();
+ }
Review Comment:
Removed `PathPatternNode.clear()` and the corresponding clear-lifecycle
assertion. Cache cleanup on child deletion remains covered by
`PathPatternNodeTest`. Thanks.
--
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]