choubenson commented on code in PR #12709:
URL: https://github.com/apache/iotdb/pull/12709#discussion_r1642878457


##########
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/TTLInfo.java:
##########
@@ -190,7 +201,9 @@ public boolean equals(Object o) {
     }
     TTLInfo other = (TTLInfo) o;
     return this.getTTLCount() == other.getTTLCount()
-        && 
this.showAllTTL().getPathTTLMap().equals(other.showAllTTL().getPathTTLMap());
+        && this.showTTL(new ShowTTLPlan())
+            .getPathTTLMap()
+            .equals(other.showTTL(new ShowTTLPlan()).getPathTTLMap());

Review Comment:
   Yes, it is necessary to check whether the ttl tree is equals with each other.



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

Reply via email to