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


##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/table/DataNodeTableCache.java:
##########
@@ -55,7 +55,17 @@ public class DataNodeTableCache implements ITableCache {
 
   private static final Logger LOGGER = 
LoggerFactory.getLogger(DataNodeTableCache.class);
 
-  private final AtomicLong version = new AtomicLong(0);
+  /**
+   * Global sequence generator providing unique, monotonically increasing IDs 
across all instances.
+   * Initialized to -1 to ensure the first ID is 0.
+   */
+  private static final AtomicLong GLOBAL_SEQUENCE = new AtomicLong(-1);

Review Comment:
   Remove this



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