https://slatedb.io logo
a couple more PRs before I buzz off for a bit to f...
# general
r
a couple more PRs before I buzz off for a bit to focus on the compactor: https://github.com/slatedb/slatedb/pull/83: this one implements read/write levels. https://github.com/slatedb/slatedb/pull/85: this one is stacked on top of 83 (it doesn't really need to be, I kind of goofed up the ordering). It refactors DbState. When I was working on the wal->l0 compaction stuff I found it kind of hard to keep track of all the ways that the db's internal state is mutated. This is an attempt to make this easier to follow by codifying the mutations in one place. It should also help us make sure we can do them in a standardized way and unit test them. Definitely looking for feedback on the structure here. It might be a little premature to do this kind of refactor so if its making folks uneasy we can definitely hold off.
c
Left ✅ and a couple comments on both
Lookin' really good. I really like that refactoring in 85. Makes a lot of sens.e