https://slatedb.io logo
Join Discord
Powered by
# general
  • c

    criccomini

    12/04/2025, 11:20 PM
    > that would run as a "background job" yea. > could tune the settings dynamically I am not so sure on this part. First step was just to have it spit out suggestions. Dynamic config changes are always scary in production (to me).
  • c

    criccomini

    12/04/2025, 11:21 PM
    Our configs are all static, so any cfg changes would involve restarting the client right now. And configs like you're talking about (scan options) are programmatic, not even config based.
  • p

    Pierre

    12/04/2025, 11:21 PM
    > Dynamic config changes are always scary in production (to me). Call it "AI steering" 🤞
  • p

    Pierre

    12/05/2025, 12:03 AM
    I think it would be great to have a tracking issue for this
  • c

    criccomini

    12/05/2025, 1:51 AM
    Want to open one? I can brain dump. I'd do it but dealing with ... humans in my household that are under 18 and require significant assistance 😛
  • v

    Victor Ordaz

    12/05/2025, 4:04 AM
    Looks like if both
    l0_max_ssts
    and
    max_unflushed_bytes
    are reached at the same time, then slatedb just stops responding at all. Shouldn't compaction eventually reduce number of sst files? From logs I don't see compaction hapenning.
  • c

    criccomini

    12/05/2025, 6:12 AM
    > Shouldn't compaction eventually reduce number of sst files? From logs I don't see compaction hapenning. Yes, compaction should clear out l0, allowing more l0's to be flushed, thus reducing unflushed_bytes to below max_unflushed_bytes.
  • c

    criccomini

    12/05/2025, 6:13 AM
    Perhaps you're seeing this? https://github.com/slatedb/slatedb/issues/854
  • c

    criccomini

    12/05/2025, 6:13 AM
    If you configure things such that the compactor requires more SSTs to start than are allowed by l0_max_ssts, the compactor will never run.
  • Argh, this one is a bit annoying
    p

    Pierre

    12/05/2025, 3:05 PM
    Argh, this one is a bit annoying
    Copy code
    retries: 1, max_retries: 10, elapsed: 689.469783ms, retry_timeout: 180s, inner: Status { status: 412, body: Some("<?xml version=\"1.0\" encoding=\"UTF-8\"?><Error><Code>PreconditionFailed</Code><Message>At least one of the pre-conditions you specified did not hold.</Message></Error>") } }) } }), panic=None]
    c
    • 2
    • 20
  • v

    Victor Ordaz

    12/06/2025, 2:25 AM
    I'm using slatedb 0.8.2 via golang bindings, and I'm seeing my process memory usage going up and to the right until OOM. Was there any recent issues with memory usage recently. Do you have any tips for ruling out and issue in slatedb? I've been looking at golang pprof memory usage and everything seems fine, this is what makes me think that it could be a problem with slatedb.
  • c

    criccomini

    12/06/2025, 2:55 AM
    There are no know memory issues in SlateDB itself.
  • c

    criccomini

    12/06/2025, 2:55 AM
    What are your configs set to? Let's start there.
  • c

    criccomini

    12/06/2025, 2:55 AM
    Also, any reason you're not using the latest 0.9.2 release?
  • c

    criccomini

    12/06/2025, 2:56 AM
    https://pkg.go.dev/slatedb.io/slatedb-go@v0.9.2
  • I’m using s3. I cannot upgrade yet, because I will need to first upgrade rust compiler.
    c

    criccomini

    12/06/2025, 3:07 AM
    Also .. are you using the InMemory object store?
    v
    p
    • 3
    • 94
  • I don't know what I'm doing wrong, but I
    p

    Patrick R

    12/07/2025, 7:47 AM
    I don't know what I'm doing wrong, but I can't get the go bindings to write anything to disk. I'm pretty sure I had this working with Minio at some point, but it doesn't work at all now with local or S3. I tried main and v0.9.2 https://gist.github.com/patrobinson/355630ac817bbd1ab7cfb8cd963e004b
    c
    v
    • 3
    • 16
  • c

    criccomini

    12/07/2025, 3:53 PM
    @Patrick R I ran your code locally
  • c

    criccomini

    12/07/2025, 3:53 PM
    Copy code
    chrisriccomini@mac slatedb-go-test-thingy % ./m 
    value1
  • c

    criccomini

    12/07/2025, 3:55 PM
    This was with slatedb-go 0.9.2, and the slatedb target release pointing to a build of main on my local machine
  • c

    criccomini

    12/07/2025, 3:56 PM
    @Patrick R This is probably why you're not seeing anything on disk: https://github.com/slatedb/slatedb/blob/v0.9.2/slatedb-go/src/config.rs#L95C1-L96C1
  • c

    criccomini

    12/07/2025, 3:56 PM
    local
    =
    InMemory
  • c

    criccomini

    12/07/2025, 4:03 PM
    Lemme see if I can get it working on
    main
    with @Victor Ordaz 's stuff
  • i am thinking about using slatedb for
    i

    isi

    12/07/2025, 10:52 PM
    i am thinking about using slatedb for session management. would that be a good usecase?
    c
    f
    • 3
    • 5
  • c

    catkins

    12/08/2025, 11:58 AM
    i was curious about how ruby bindings with [magnus](https://github.com/matsadler/magnus) / [rb_sys](https://github.com/oxidize-rb/rb-sys/tree/main) would look, so I sent off a little robot to have a bash and it actually didn't do a terrible job. https://github.com/slatedb/slatedb/compare/main...catkins:catkins/ruby-bindings (dw. I'm not going to saddle you with a PR with this code 😛 )
  • c

    criccomini

    12/08/2025, 5:43 PM
    @catkins Hah! Should throw it up on a personal GH repo. I bet you'd attract some PRs and users.
  • c

    criccomini

    12/08/2025, 5:44 PM
    We can add a 3rd party bindings section to the README, too
  • c

    criccomini

    12/08/2025, 5:53 PM
    @User I'm going to merge this: https://github.com/slatedb/slatedb/pull/1064
  • c

    criccomini

    12/08/2025, 5:53 PM
    I let it sit for a few days after Almog
  • c

    criccomini

    12/08/2025, 6:02 PM
    Changelog for the last couple of weeks 😄 https://app.dosu.dev/d8f2da6d-6c4e-43a9-b5f2-b03db801b4d1/documents/4a01f485-eb5c-4c13-a348-6d02f36f5e93