https://slatedb.io logo
<@1154560747330867221> I'm working on implementing...
# general
t
@almog I'm working on implementing SSTable block codec V0 in the golang port https://github.com/slatedb/slatedb/blob/a73f24489410d6de5914e74d1879f4829a4ee8ae/src/row_codec.rs Two question please. - Can you verify my assumption that the V1 block format dictated in RFC https://github.com/slatedb/slatedb/blob/main/rfcs/0003-timestamps-and-ttl.md is out of date and we have no plans to implement that particular format? - Do you know if
expire_ts
and
created_ts
are intended to be epoch seconds, or epoch milliseconds. The RFC mentions milliseconds, but doesn't explicitly state epoch milliseconds, and I can't find anywhere in the code where it's set to anything other than a random number (for testing) Thanks!
a
Will take a look at the first question when I've got some time. Quick answer for the second is that it's the time that comes from the db-time clock (see RFC-3 one timestamps/ttl). Usually it'll be epoch millis
OK just re-read the first, yeah we have no plans on implementing that particular format. I think the most recent codec (after @dmvk 's changes to add merge operations) are the latest and we're not planning on supporting backwards compatibility with previous formats until a later point in time