Hi all, I'd like to share a bug fix regarding the partition table auto-cleaning logic which may cause querying specific time range data will return empty result.
We discovered that the partition table was being cleaned incorrectly when only a device-level TTL was set in tree mode. This could lead to unintended data loss. We have corrected the logic so that old data partitions are deleted if and only if a database-level TTL is set, and the partition has existed longer than the maximum TTL defined under that database. To ensure this doesn't happen again, we have also added a specific integration test for this scenario. The PR link is: https://github.com/apache/iotdb/pull/17123 The origin issue is: https://github.com/apache/iotdb/issues/17030 Best regards, -------------------- Yuan Tian
