Skip to content

optimization: reuse last bgsave rdb for full sync #10

@siddontang

Description

@siddontang

Now every full sync will do bgsave, which may be slow for large dataset. If we can reuse the last bgsave rdb, and the associated master sync offset is still in the backlog buffer, we may reuse this rdb for full sync and do incremental sync from last master sync offset.

This is only a optimization, and we may do it later, not now.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions