This is an automated email from the ASF dual-hosted git repository. jackietien pushed a commit to branch TVListOpt in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 6c13bae294eb77879e85a030327c5c8c8634881b Author: JackieTien97 <[email protected]> AuthorDate: Wed Sep 28 12:03:45 2022 +0800 Make a field in TVList final and static to save memory --- .../src/main/java/org/apache/iotdb/db/utils/datastructure/TVList.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main/java/org/apache/iotdb/db/utils/datastructure/TVList.java b/server/src/main/java/org/apache/iotdb/db/utils/datastructure/TVList.java index 721f9cdeb6..8dcea925a4 100644 --- a/server/src/main/java/org/apache/iotdb/db/utils/datastructure/TVList.java +++ b/server/src/main/java/org/apache/iotdb/db/utils/datastructure/TVList.java @@ -49,7 +49,7 @@ public abstract class TVList implements WALEntryValue { protected static final int SMALL_ARRAY_LENGTH = 32; protected static final String ERR_DATATYPE_NOT_CONSISTENT = "DataType not consistent"; - long maxChunkRawSizeThreshold = + protected static final long maxChunkRawSizeThreshold = IoTDBDescriptor.getInstance().getConfig().getMaxChunkRawSizeThreshold(); // list of timestamp array, add 1 when expanded -> data point timestamp array // index relation: arrayIndex -> elementIndex
