congqixia cfc8577f76
fix: [hotfix]Use task timestamp to calculating ttl timestamp (#42925)
Cherry-pick from master
pr: #42920
Related to #42918

Previously the `CollectionTtlTimestamp` could be overflowed when the
guarantee_ts==1, which means using `Eventually` consistency level.

This patch use task timestamp, allocated by scheduler, to generate ttl
timestamp ignore the potential very small timestamp being used.

Also add overflow check for ttl timestamp calculated.

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2025-06-25 10:12:42 +08:00
..
2021-11-16 15:41:11 +08:00
2023-04-14 15:30:29 +08:00