Caideyipi opened a new pull request, #19134: URL: https://github.com/apache/iotdb/pull/19134
## Description A schema fetch registers its SchemaRegion in TableDeviceCacheAttributeGuard using put(), resetting the latest accepted update version. A delayed older batch can then overwrite current attributes, including values written after a column is dropped and re-added. Register each region with putIfAbsent() so repeated fetches preserve its accepted version. Add a unit test for older, duplicate, and newer update versions, plus an integration test that holds an old batch across column recreation and verifies current attributes remain intact after delivery. The integration fixture injects transport failures and delays through a Java agent in test sources. It shares cluster startup across compatible cases and exposes extra child-JVM options only in the integration-test launcher. ## Validation - Clean source build of affected modules and the integration-test dependency closure with JDK 17. - TableDeviceCacheAttributeGuardTest: 1 test passed; it fails on the unmodified base. - IoTDBAttributeUpdateOrderingIT: 1 test passed in a 1-ConfigNode, 2-DataNode cluster; on the unmodified base the old batch replaces new-lifetime with late-old. - Spotless and Checkstyle passed. Initial independent review is pending; this PR is intentionally a draft. -- 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]
