• Omer Shadmi's avatar
    Avoid exiting to allow diskless loading to recover from RDB short read on module AUX data (#9199) · 518fd2dc
    Omer Shadmi authored
    Currently a replica is able to recover from a short read (when diskless loading
    is enabled) and avoid crashing/exiting, replying to the master and then the rdb
    could be sent again by the master for another load attempt by the replica.
    There were a few scenarios that were not behaving similarly, such as when
    there is no end-of-file marker, or when module aux data failed to load, which
    should be allowed to occur due to a short read.
    
    (cherry picked from commit f06d782f)
    518fd2dc
rdb.c 102 KB