Skip to content

WAL log file corrupt after #13249

Open
Open
@979357361

Description

we use rocksdb through C API, the WAL config is kept default, underlying file system is a default EXT4 on NVME SSD

after a terminal disconnect, we try to reopen the DB and found some data is wrong, then I check and find WAL may be corrupted as LOG shows:
img_v3_02hu_376620d1-4a39-408c-a108-a466a8046c6g

as far as I know, RocksDB promises data consistance with WAL enabled, and EXT4 has is own journal, too, why data still happens? Will changing WAL recovery mode to absolute_consistancy help? In our use case, we prefer no data than wrong data.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions