Hassan Ait Brik
11/09/2026, 12:54 PMmetadataTTL never expires primary keys on OFFLINE tables:
• removeExpiredPrimaryKeys() / takeSnapshot() are only triggered when a REALTIME consuming segment commits
• deleting a segment that’s out of TTL logs “Skip removing segment ... out of TTL” and its PKs stay in the map
• on 1.5.1 the TTL only trims at server restart; on master, not even then, since OFFLINE never persists the watermark
Details and code pointers: https://github.com/apache/pinot/issues/20196
Questions:
1. Is there a supported way today to clean up PKs on an OFFLINE upsert table, other than deleting segments (which, without metadataTTL, frees their PKs right away) ?
2. Is anyone already working on TTL / snapshots for OFFLINE upsert, or is it planned ?
3. If not, would a PR be welcome that triggers snapshot + TTL sweep for OFFLINE tables (after segment add/replace or from a periodic task) and persists the watermark? Any preference on the approach ?
Thanks !Hassan Ait Brik
11/10/2026, 4:35 PMMayank
Chaitanya Deepthi Chadalavada
11/10/2026, 7:49 PMHassan Ait Brik
11/10/2026, 7:55 PMHassan Ait Brik
11/10/2026, 8:04 PMHassan Ait Brik
11/12/2026, 1:33 PMChaitanya Deepthi Chadalavada
11/12/2026, 5:35 PMHassan Ait Brik
11/12/2026, 7:15 PMChaitanya Deepthi Chadalavada
11/13/2026, 12:48 AMXiang Fu
Xiang Fu
Hassan Ait Brik
11/13/2026, 4:00 PMHassan Ait Brik
11/16/2026, 4:49 PMChaitanya Deepthi Chadalavada
11/16/2026, 5:46 PMXiang Fu
Hassan Ait Brik
11/16/2026, 7:30 PMXiang Fu
Hassan Ait Brik
11/16/2026, 7:35 PMXiang Fu
Hassan Ait Brik
11/16/2026, 7:38 PMHassan Ait Brik
11/17/2026, 1:23 PMHassan Ait Brik
11/17/2026, 1:24 PM