Skip to content

Allow preemption for non auto journaling #3015

@adiholden

Description

@adiholden

Today non auto journal is recoded inside command callbacks and preemption is not allowed.
This reduces the backpressure from master to replicate this commands.
f.e if we run memtier with MSET, because MSET is non auto journal the journal changes are acumulated in master resulting in increase in memory usage and big lag

To allow preemption in callbacks we need to first make sure we dont have any assumptions in code that logic relay on the fact that callbacks do not preemt f.e OnCbFinish in db slice

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestreplicationRelated to replication logic

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions