criccomini
07/30/2025, 2:42 PMretention_min_seq? Suppose we have a time travel of 6 hours. We'll need to keep the seqnum for 6h ago, but that number is always rolling forward. That's why @Rohan propsoed the ring buffer. Are you planning to keep the ring buffer in memory? If so, how do you handle the ring buffer on startup?flaneur233
07/30/2025, 2:46 PMretention_min_seq does not have time travel considered into it yet, it's only focus on keeping the living snapshots' data not get recycled during compaction. it simply tracks the living snapshots' begin seqs, and pick a min to be flushed to manifest 😯 .
i think it might be good to have a standalone solution for time travel, which we'd like to track a mapping between system time and seq. it's not included in the scope for the snapshot retention at the moment imo.criccomini
07/30/2025, 2:47 PMcriccomini
07/30/2025, 2:47 PMcriccomini
07/30/2025, 2:47 PMflaneur233
07/30/2025, 2:48 PMcriccomini
07/30/2025, 2:48 PMflaneur233
07/30/2025, 2:49 PMcriccomini
07/30/2025, 2:49 PMcriccomini
07/30/2025, 2:52 PMcriccomini
07/30/2025, 2:52 PMflaneur233
07/30/2025, 2:52 PMcriccomini
07/30/2025, 2:52 PMcriccomini
07/30/2025, 2:53 PMcriccomini
07/30/2025, 2:53 PMflaneur233
07/30/2025, 2:56 PM