Skip to content

Add backoff to avoid infinite compact_mem_table fails #79

@Fullstop000

Description

@Fullstop000

If compact_mem_table fails, the immutable memtable will be still there. And we re-schedule compaction after a compaction which means compact_mem_table will be called infinitely. To fix this, we can introduce a backoff to prevent the infinite compaction loop.
If compaction fails hits the backoff limit, prevent all writing requests to the wickdb could be a good choice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions