jt2594838 commented on code in PR #14710:
URL: https://github.com/apache/iotdb/pull/14710#discussion_r1983006955


##########
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/memory/MemoryManager.java:
##########
@@ -315,7 +315,7 @@ public synchronized MemoryManager getOrCreateMemoryManager(
     return children.compute(
         name,
         (managerName, manager) -> {
-          if (sizeInBytes <= 0) {
+          if (sizeInBytes < 0) {
             LOGGER.warn("getOrCreateMemoryManager {}: sizeInBytes should be 
positive", name);

Review Comment:
   should be positive -> should be non-negative



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