Commit 85dfc89
committed
fix: Add check for reset memory size to 0 in LoadTsFileMemoryManager
Add early return when memory block size equals target size to avoid unnecessary operations. Previously returning 0 memory could indicate invalid parameters.1 parent 13b0582 commit 85dfc89
File tree
1 file changed
+5
-1
lines changed- iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/memory
1 file changed
+5
-1
lines changedLines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
124 | 128 | | |
125 | 129 | | |
126 | 130 | | |
| |||
0 commit comments