Skip to content
Snippets Groups Projects
  • Vladimir Davydov's avatar
    ea69a0cd
    replication: rebootstrap instance on startup if it fell behind · ea69a0cd
    Vladimir Davydov authored
    If a replica fell too much behind its peers in the cluster and xlog
    files needed for it to get up to speed have been removed, it won't be
    able to proceed without rebootstrap. This patch makes the recovery
    procedure detect such cases and initiate rebootstrap procedure if
    necessary.
    
    Note, rebootstrap is currently only supported by memtx engine. If there
    are vinyl spaces on the replica, rebootstrap will fail. This is fixed by
    the following patches.
    
    Part of #461
    ea69a0cd
    History
    replication: rebootstrap instance on startup if it fell behind
    Vladimir Davydov authored
    If a replica fell too much behind its peers in the cluster and xlog
    files needed for it to get up to speed have been removed, it won't be
    able to proceed without rebootstrap. This patch makes the recovery
    procedure detect such cases and initiate rebootstrap procedure if
    necessary.
    
    Note, rebootstrap is currently only supported by memtx engine. If there
    are vinyl spaces on the replica, rebootstrap will fail. This is fixed by
    the following patches.
    
    Part of #461