https://slatedb.io logo
Object store 0.12 is out. I will update my PR to u...
# general
c
Object store 0.12 is out. I will update my PR to use it. Once that PR is approved and merged (hint πŸ˜‰ I think the other one to do is @dmvk β€˜s
d
What’s are the steps to upgrade?
Do we need to wipe data or can we read using old version and repair with new version- not sure how it would be possible but we could try
c
I think you'll need to wipe data, unfortunately. There have been a ton of manifest changes and I believe SST/block changes as well.
I'm planning to write a little script to test compatibility going forwared, so this should be your last one of these 😐
d
Should we at least add a version byte to the manifest file?
we can then simply do auto-convert between versions
c
There's some discussion on this here: https://github.com/slatedb/slatedb/issues/446
I suppose the advantage of adding a version byte outside of the FB is that it allows us more flexibility in the compatibility we support. If we don't have that, we have to commit to all previous versions being compatible, which seems extreme.
FB, by nature, has pretty decent evolution rules
d
Yes, that's something we need to avoid at this point, while things are still moving fast.
c
Yea
Fair enough
It's probably a good idea anyway...
d
do we already have that for ssts? πŸ€”
I know we have it for rows
c
I can't recall...
We had it for some and removed some a while back
I mentioned sst, block, and manifest in the GH issue, but not sure which we have
Looks like no version # for SST
Same for block.. no version version #
I think we can couple block+SST together and just do it at the SST level
d
For blocks you don't really need it
c
yea
K, workin on this now
For now, I'm just going to raise an exception when we catch a version mismatch since we'll have only one version
d
πŸ‘ sounds good
c
I'm doing the shortest path to get the bytes where they need to be right now
(so we can cut a release this week)
Long term, I think we'll want nice sst modules with v1.rs, v2.rs, etc.
PR is up
Ok, I think two remaining this for this release are: 1. I need to address comments and get βœ… from https://github.com/slatedb/slatedb/pull/510 2. @dmvk I think there's an open request from @Rohan regarding an issue in https://github.com/slatedb/slatedb/pull/474#discussion_r1989840663 For (1), I'll try and wrap this up by EOW.
@dmvk updated PR with your feedback. @Rohan responded to your question. tl;dr yes, do we just want a single version that bumps on any format change?
r
replied in the PR - I like the way you have it in the PR - was just checking my understanding
c
Merged!
Seems like @dmvk is offline. I'll try and take a crack at this either today or this weekend: > I think it's possible for this checkpoint external_db.source_checkpoint_id to be expired/deleted at this point (in the case where we fail and then retry this fn later). Can we add a check for that and fail? I think it's the last thing I to get into the release.
It's awesome we got the read-only client in, too!
πŸ”₯
d
I’ll try to check tonight. Do we want to start doing patch releases or is it too early?
c
I’m fine doing patch releases. This one just seemed like a one liner so I figured I’d sneak it in
πŸ˜€
d
responded in the thread + added a test case
c
I will release today. We can always patch of need be.
r
@dmvk I responded in https://github.com/slatedb/slatedb/pull/474/files#r1999352725 - we're good here - I didn't think the checkpoint-writing path through fully.
I'm working on a fix for this bug: https://github.com/slatedb/slatedb/issues/517 I think we should definitely do a patch release when that's in
fix is here: https://github.com/slatedb/slatedb/pull/518 we also need to fix the code that searches a sorted run for the sst that contains a key, but that's not as urgent because sorted runs always have a single version for each key in the current implementation