segfault after unexpected server reboot #680

Closed
opened 2023-12-22 09:16:07 +00:00 by lpapier · 2 comments

Hi,
After an unexpected server reboot, garage failed to start with a segfault error.

garage version is

garage v0.8.4 [features: k2v, sled, lmdb, sqlite, consul-discovery, kubernetes-discovery, metrics, telemetry-otlp, bundled-libs]

See included log file generated with RUST_LOG=garage=trace garage -c ./disaster.toml server.

My config is a single garage node.

metadata_dir = "/data/disaster/meta"
data_dir = "/data/disaster/data"
db_engine = "lmdb"
block_size = 10485760
replication_mode = "1"
compression_level = 2

Running mdb_stat -a -e -f db.lmdb gives no error.

Could it be a garage bug or a lmdb corruption?
If you need more info or trace, just ask for.

Thanks.
Laurent

Hi, After an unexpected server reboot, `garage` failed to start with a segfault error. `garage` version is ``` garage v0.8.4 [features: k2v, sled, lmdb, sqlite, consul-discovery, kubernetes-discovery, metrics, telemetry-otlp, bundled-libs] ``` See included log file generated with `RUST_LOG=garage=trace garage -c ./disaster.toml server`. My config is a single garage node. ```toml metadata_dir = "/data/disaster/meta" data_dir = "/data/disaster/data" db_engine = "lmdb" block_size = 10485760 replication_mode = "1" compression_level = 2 ``` Running `mdb_stat -a -e -f db.lmdb` gives no error. Could it be a garage bug or a lmdb corruption? If you need more info or trace, just ask for. Thanks. Laurent
lpapier changed title from segfault after server crash to segfault after unexpected server reboot 2023-12-22 09:17:40 +00:00
Owner

Do you think you could launch Garage with gdb to obtain a stack trace at the time of the segfault ?

Do you think you could launch Garage with gdb to obtain a stack trace at the time of the segfault ?
Owner

Closing for inactivity.

Closing for inactivity.
lx closed this issue 2024-02-14 09:16:44 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Deuxfleurs/garage#680
No description provided.