• unknown's avatar
    MDEV-5769: Slave crashes on attempt to do parallel replication from an older master · ec374f1e
    unknown authored
    Older master has no GTID events, so such events are not available for
    deciding on scheduling of event groups and so on.
    
    With this patch, we run such events from old masters single-threaded, in the
    sql driver thread.
    
    This seems better than trying to make the parallel code handle the data from
    older masters; while possible, this would require a lot of testing (as well as
    possibly some extra overhead in the scheduling of events), which hardly seems
    worthwhile.
    ec374f1e
rpl_parallel.cc 46.3 KB