Caideyipi opened a new pull request, #17893:
URL: https://github.com/apache/iotdb/pull/17893

   ### Description
   
   This patch fixes overflow-prone time partition boundary handling by making 
partition boundary calculations origin-aware and saturation-safe.
   
   The main changes are:
   - keep time partition origin/interval boundary state in `TimePartitionUtils`
   - make partition start-time lookup and partition-start checks overflow-safe
   - cap partition estimate calculations instead of overflowing
   - use saturated arithmetic in TTL auto-clean partition boundary checks
   - refresh partition boundary origin from storage engine configuration
   - update related query and pipe realtime paths to use the shared boundary 
helper
   
   ### Tests
   
   - `mvn -pl iotdb-core/node-commons -DskipTests compile`
   - `mvn -pl iotdb-core/node-commons test` currently fails during 
`testCompile` because `CommitProgressKeeperTest` references missing 
`RegionProgress`, `WriterId`, and `WriterProgress` symbols, which is unrelated 
to this change.


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