Skip to content
  • Libing Song's avatar
    7ac24190
    BUG#21111229 RESET SLAVE ALL BEHAVES DIFFERENT FOR DEFAULT AND · 7ac24190
    Libing Song authored
                 NON-DEFAULT CHANNELS
    BUG#21107331 RESET SLAVE ALL DOESN'T RESETS SLAVE_RETRIED_TRANSACTIONS
    
    Since default channel should always exist, so its internal objects were not
    deleted when executing RESET SLAVE ALL on default channel. But the internal
    data was not re-initialized correctly, it caused these two bugs.
    
    In this patch, we change the logic so that it deletes the original
    internal objects(Master_info and Relay_log_info) of default channel
    and then recreates them again when executing RESET SLAVE ALL on
    default channel. In this way, it can guarantee all internal data is
    re-initialized correctly.
    7ac24190
    BUG#21111229 RESET SLAVE ALL BEHAVES DIFFERENT FOR DEFAULT AND
    Libing Song authored
                 NON-DEFAULT CHANNELS
    BUG#21107331 RESET SLAVE ALL DOESN'T RESETS SLAVE_RETRIED_TRANSACTIONS
    
    Since default channel should always exist, so its internal objects were not
    deleted when executing RESET SLAVE ALL on default channel. But the internal
    data was not re-initialized correctly, it caused these two bugs.
    
    In this patch, we change the logic so that it deletes the original
    internal objects(Master_info and Relay_log_info) of default channel
    and then recreates them again when executing RESET SLAVE ALL on
    default channel. In this way, it can guarantee all internal data is
    re-initialized correctly.
Loading