GitHub user ltagliamonte-dd added a comment to the discussion: Fix corrupted 
sst file

Thanks for the replay, using ldb I wasn't able to recover my db.
ldb is having issues https://github.com/facebook/rocksdb/issues/13053.

I'm having this problem happening over my cluster "frequently" (3 times in 2 
weeks) and I'm looking for a long term solution I can't just drop a shard and 
rebuilt it every time.
Can anyone help me understanding what's is going wrong?

I'm using latest kvrock: v2.9.0
and this is my running config:
```
command=/usr/local/bin/kvrocks/kvrocks
    --dir %(ENV_KVROCKS_DATA_DIR)s
    --port 6379
    --rocksdb.compaction_readahead_size 10485760
    --rocksdb.target_file_size_base 1024
    --rocksdb.wal_ttl_seconds 0
    --rocksdb.wal_size_limit_mb 0
    --maxclients 20000
    --log-dir stdout
    --log-level error
```

i don't have replication that's why `wal_ttl_seconds` and `wal_size_limit_mb` 
are set to 0.
Cc @git-hulk 

GitHub link: 
https://github.com/apache/kvrocks/discussions/2567#discussioncomment-10870162

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to