• Luis Soares's avatar
    BUG#11760927: 53375: RBR + NO PK => HIGH LOAD ON SLAVE (TABLE · 595a007d
    Luis Soares authored
                  SCAN/CPU) => SLAVE FAILURE
    
    When a statement containing a large amount of ROWs to be applied on
    the slave, and the slave's table does not contain a PK, it can take a
    considerable amount of time to find and change all the rows that are
    to be changed.
    
    The proper slave enhancement will be implemented in WL 5597. However,
    in this bug we are making it clear to the user what the problem is, by
    printing a message to the error log if the execution time, for a given
    statement in RBR, takes more than LONG_FIND_ROW_THRESHOLD (set to 60
    seconds). This shall help the DBA to diagnose what's happening when
    facing a slave server that is quiet for no apparent reason...
    
    The note is only printed to the error log if log_warnings is set to be
    greater than 1.
    595a007d
rpl_row_find_row_debug.result 533 Bytes