sled
sled copied to clipboard
Segfault during heavy write workload
I received a segfault after about 3 hours of heavy concurrent inserts. The workload was 8 threads reading parquet files using the parquet crate and doing inserts into the default sled database.
- expected result
- actual result
- sled version
master
- rustc version
latest nightly
- operating system
Ubuntu 20.04
- minimal code sample
8 threads using db insert with UUID key and [u8: 8] value
Thanks for the report! Once I'm done with the pointer swizzling refactor I'll try to reproduce this. Do you have access to the core for getting a stacktrace, by any chance?
Unfortunately I do not. I was on the fence on whether it was worth posting an issue because I have so little to offer right now. My schedule isn't going to be any less hairy for another few months or I'd offer to get more involved in this.
It was a very small program with few dependencies, namely rayon
, sled
, uuid
, and parquet
.
no worries at all! it's more important to know that something exists, although it should always be expected that the master branch will be buggier than a release since I haven't subjected to as much burn-in testing myself.
For your uuid keys, are you storing them as 16 raw bytes or as the larger string representation?
16 bytes from hex Uuid::as_bytes