• unknown's avatar
    MDEV-4485: Master did not allow slave to connect from the very start (empty... · 385780f5
    unknown authored
    MDEV-4485: Master did not allow slave to connect from the very start (empty GTID pos) if GTIDs from other multi_source master was present
    
    The idea in the code was to protect the user that tries to connect a slave
    to a master with completely different domains than what was intended. If
    none of the domains in the start position are present at all in the master
    binlog, we gave an error.
    
    However, this is a stupid idea. Because when a slave connects to a master
    to start replication from the very start of binlogs - such as when setting
    up new master->slave servers from scratch - there will be just this
    situation, the requested slave position is empty for all the domains in the
    master's binlog.
    
    So the code that gives this error is wrong, and the solution is simply to
    remove it.
    385780f5
rpl_gtid_mdev4485.test 992 Bytes