https://slatedb.io logo
@criccomini I don't think this is
# general
p
@criccomini I don't think this is related (although I never saw such a run before), but this looks kind of suspicious https://github.com/Barre/ZeroFS/actions/runs/17233110198/job/48891577710#step:8:4797 https://github.com/Barre/ZeroFS/actions/runs/17233110198/job/48891577710#step:8:4842 It seems that slatedb was never able to process the following: https://github.com/Barre/ZeroFS/blob/main/zerofs/src/fs/recovery.rs#L47-L67
c
Hmmm...
Based on the logs in the second ink, it seems like something with the GC?
> 2025-08-26T09:09:23.299684Z WARN slatedb::db::builder: GC thread exited [error=background task shutdown] > 2025-08-26T09:09:23.317509Z INFO object_store::client::retry: Encountered transport error backing off for 0.05 seconds, retry 1 of 100: HTTP error: error sending request > 2025-08-26T09:09:24.049080Z ERROR zerofs: Garbage collection failed: IoError
p
It's my garbage collector
c
Ohhh
p
😄
c
Yea it's odd you're not seeing: > info!("compactor task exited [result={:?}]", result);
Copy code
pub async fn close(&self) -> Result<(), crate::Error> {
        self.cancellation_token.cancel();

        if let Some(compactor_task) = {
            let mut maybe_compactor_task = self.compactor_task.lock();
            maybe_compactor_task.take()
        } {
            let result = compactor_task.await.expect("failed to join compactor task");
            info!("compactor task exited [result={:?}]", result);
        }

        if let Some(garbage_collector_task) = {
            let mut maybe_garbage_collector_task = self.garbage_collector_task.lock();
            maybe_garbage_collector_task.take()
        } {
            let result = garbage_collector_task
                .await
                .expect("failed to join garbage collector task");
            info!("garbage collector task exited [result={:?}]", result);
        }

....
p
to me this looks like a deadlock somewhere
This looks rare because I did few more runs after that, couldn't reproduce
And I'm not able to reproduce locally
c
hmmm
p
What's very annoying is that it can also be some github action fluke
Imagine, the block device backing the runner somehow got extremely low throughput due to whatever
So the minio instance that runs on it is just barely functional at this exact moment
I'd say, perhaps let's not waste energy on this if there's nothing obvious for now
c
Yea I'm inclined that way, too. Was reading over the code and logs.. can't spot anything too crazy. And since it's shutdown.. it's annoying but not catastrophic...
This part makes me wonder a bit, too: > 2025-08-26T09:09:23.317509Z INFO object_store::client::retry: Encountered transport error backing off for 0.05 seconds, retry 1 of 100: HTTP error: error sending request
p
Don't be too scared for this
Just before in the run, there's a high throughput dd
I saw minio throwing that quite easily
c
K
Ah, I think I know why we don't see shutdown info log from the compactor
Since we're using cancellation_token, compactor and GC can see the cancellation in any order
So GC got it first..
p
On that same angle, I wondered if the parallel builder shouldn't take the cancellation token too
🤷‍♂️
That'd be helpful if some io operation is IO stuck
Or slow
c
parallel builder?
p
The new PR
That got merged
Cannot recall the name of the function
c
MessageDispatcher?
p
Wait
c
Or you mean the parallel iterator builder
Yes
This
I didnt see this issue again
So I think it was just a runner fluke
I think it’s fine!
c
whew 😛
p
I got confused with my own errors
Then it’s great because I can have my “take” api just by opening a new db
If I have state and some leader election + a local proxy I can handle high availability to the proper instance
c
yup!
p
(A proxy so that the mount can be 127.0.0.1 and handle disconnections transparently)
2 Views