https://slatedb.io logo
Triggered another fun compaction error: https://g...
# general
c
Triggered another fun compaction error: https://github.com/slatedb/slatedb/issues/124
tl;dr Injecting latency into TableStore's
drain_blocks
method results in a lot of weird error messages and log lines.
r
ah I think this is because I haven't yet had the compaction policy look at what compactions are running when selecting a compaction to schedule. So if it starts a compaction, and then the scheduler runs again before the compaction finishes you'll see this bug. The error is returned when the scheduler tries to schedule a compaction to a sorted run, but there's already an in-progress compaction to that sorted run.
c
Gotcha. That's kind of what I figured.