Skip to content

[BUG]: *DB.Sync should sync memtable in addition to value log #1847

@mcfog

Description

@mcfog

What version of Badger are you using?

github.com/dgraph-io/badger/v3 v3.2103.5

What version of Go are you using?

No response

Have you tried reproducing the issue with the latest release?

Yes

What is the hardware spec (RAM, CPU, OS)?

What steps will reproduce the bug?

call *DB.Sync()

Expected behavior and actual result.

Both memtable('s wal file) and value log should be persisted by Sync call.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething is broken.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions