https://slatedb.io logo
Hey folks, I am running into an issue where the co...
# general
m
Hey folks, I am running into an issue where the compactor is giving an ObjectStoreError NotFound for some reason. It is expecting a .sst file in the path but it is nowhere to be found. Is there some way to listen or try to receive errors from the compactor? That way I can signal something is wrong, right now it is just logging in the background.
c
Hi! What version are you running? Also, can you share your configs?
m
[storage.slatedb] flush_interval = "1s" wal_enabled = false manifest_poll_interval = "5s" min_filter_keys = 1000 max_unflushed_bytes = 16777216 # 16MB filter_bits_per_key = 10 l0_sst_size_bytes = 16777216 # 16MB l0_max_ssts = 8 [storage.slatedb.compactor_options] poll_interval = "5s" max_sst_size = 67108864 # 64MB compacted SSTs max_concurrent_compactions = 4 [storage.slatedb.garbage_collector_options.compacted_options] min_age = "1m" [storage.slatedb.garbage_collector_options.compacted_options.execution_mode] mode = "Periodic" config = "30s" [storage.slatedb.garbage_collector_options.manifest_options] min_age = "10m" [storage.slatedb.garbage_collector_options.manifest_options.execution_mode] mode = "Periodic" config = "60s"
Running 0.6.1 with wal_disable feature
yeah, that thread seems related alright. Having a look
c
Ah, yes. It's probably the min_age "1m" for the compacted options tha'ts causing the issue
That's a quite aggressive timeframe
We currently use time bounds to determine when to delete things, so it's possible if the min age is too short, that the GC will delete an SST that the compactor is reading from.
That will get fixed in 0.8 when we fix the GH issue above
I suggest raising min_age quite a bit
m
I see, I will bump up the min_age then.
c
If it persists, we can dig in
Try 15m and see how it goes
m
I'll try that suggestion, thanks for the quick help!
c
My pleasure. I want SlateDB to work! 😄
@meldrum_93 did the min age change help?
m
I have not run into the same issue yet but I did not run into the issue that often so It is hard to know yet if it solved it 😄
But will report back after some more days
c
thx!