• unknown's avatar
    MDEV-5262: Missing retry after temp error in parallel replication · b0b60f24
    unknown authored
    Start implementing that an event group can be re-tried in parallel replication
    if it fails with a temporary error (like deadlock).
    
    Patch is very incomplete, just some very basic retry works.
    
    Stuff still missing (not complete list):
    
     - Handle moving to the next relay log file, if event group to be retried
       spans multiple relay log files.
    
     - Handle refcounting of relay log files, to ensure that we do not purge a
       relay log file and then later attempt to re-execute events out of it.
    
     - Handle description_event_for_exec - we need to save this somehow for the
       possible retry - and use the correct one in case it differs between relay
       logs.
    
     - Do another retry attempt in case the first retry also fails.
    
     - Limit the max number of retries.
    
     - Lots of testing will be needed for the various edge cases.
    b0b60f24
rpl_parallel_retry.test 2.42 KB