https://slatedb.io logo
<@965845316370833408> Wanted to touch base on http...
# general
c
@flaneur233 Wanted to touch base on https://github.com/slatedb/slatedb/pull/260. No time pressure, just wanted to make sure you weren't waiting on more feedback on that RFC. Not sure anyone is looking at it at the moment. LMK if/when you need more 👀 on it.
a
😆 I was literally just finishing up reading the RFC, I don't have much background on transactions but it makes sense to me!
c
Hah! 👍
Yea, it's a bit incomplete right now, but has enough of a sketch for SI that it gives us some direction.
Would love to see more on SSI, though. 😅
But we're making good progress already with write batch and ttl discussions. @flaneur233 is keeping us honest on the required features for SSI.
f
SSI also considered as not complex, the only difference is to track the recent committed transactions, and checks the read set of the current transaction with these transactions' write set. there's a short description about SSI's conflict check in this rfc 😁 https://github.com/slatedb/slatedb/pull/260/files#diff-f152349f7c056772600fc826b8e224acd6b581a8853dfee5b085fb0edb90e358R233
more comment on this rfc is appreciated 🫡
r
I need to catch up on this RFC. I had a look last week and overall the direction looks great to me. I'm going to be out for the next 5 days, but I'll go back over it when I'm back.
c
@flaneur233 Took another pass on the RFC. It sounds really good to me. I agree on all your positions: oracle, seq, SSI (rather than get_on_update), etc. I'm pretty comfortable with it. I'll let others chime in. Main open question for me now is how it looks to add seqnum to SlateDB. I kinda feel a draft PR would be more useful than an RFC for that...
f
yeah, i'd have a try to add the seqnum in this weekend, it may also related with the WAL replay part, as we need to recover the latest seqnum after restarted
a
we can probably leverage the
RowFeatures
/
RowAttributes
for the per-row storage of the seqnum
cc @jason since he's interested in progress here ^