Caideyipi commented on code in PR #16699:
URL: https://github.com/apache/iotdb/pull/16699#discussion_r2544491855


##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/LoadTsFileManager.java:
##########
@@ -115,14 +114,6 @@ public class LoadTsFileManager {
       new AtomicReference<>(CONFIG.getLoadTsFileDirs());
   private static final AtomicReference<FolderManager> FOLDER_MANAGER = new 
AtomicReference<>();
 
-  private static final Cache<String, 
org.apache.tsfile.file.metadata.TableSchema> SCHEMA_CACHE =
-      Caffeine.newBuilder()
-          .maximumWeight(CONFIG.getLoadTableSchemaCacheSizeInBytes())

Review Comment:
   May delete this config as well



##########
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/schema/table/TsTable.java:
##########
@@ -72,6 +78,13 @@ public class TsTable {
 
   private final ReadWriteLock readWriteLock = new ReentrantReadWriteLock();
 
+  private final AtomicLong version = new AtomicLong(0L);

Review Comment:
   May add "transient" mark



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