Jackie-Jiang commented on PR #18733:
URL: https://github.com/apache/pinot/pull/18733#issuecomment-5145884057

   > So the new record doesn't need to be "out of TTL" — it just needs to 
arrive after the existing entry has fallen behind the watermark by more than 
`metadataTTL`. For partial-upsert tables this also matters for merging: if the 
previous entry is expired, we skip merging the new record's unset fields 
against that stale previous row, since that data is considered gone.
   
   The definition of `out of TTL` is it is older than watermark - 
`metadataTTL`, so this is out of TTL. The scenario you described should be 
forbidden. It is not only an out-of-order event, but so stale that the lag is 
more than the TTL.
   When `metadataTTL` is used, a record shouldn't be updated after this time 
(e.g. 2 days), or the behavior is undefined.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to