Skip to content

be will lose meta data when be crashed #316

@kangpinghuang

Description

@kangpinghuang

Describe the bug
Now, tablet header meta data is stored in rocksdb meta db. But WriteOptions.sync is false,
the wal is written to pagecache. When be crashed, some wal log will lose, causing lose of meta
data.

How to solve
set WriteOptions.sync to true

Metadata

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