Skip to content
  • Christopher Powers's avatar
    91780f02
    Bug#27839644 GLOBAL STATUS VARIABLES DRIFT AFTER ROLLBACK · 91780f02
    Christopher Powers authored
    This patch addresses a problem where the status counters for a
    closing connection may increase after they have been added to
    the global status totals, and then decrease when the associated
    THD is deleted. This temporary bump in the counters can confuse
    monitoring processes.
    
    To fix the problem, add_to_status() is moved to the end of
    THD::release_resources(), ensuring that status counter
    increments will be added to the global status totals.
    91780f02
    Bug#27839644 GLOBAL STATUS VARIABLES DRIFT AFTER ROLLBACK
    Christopher Powers authored
    This patch addresses a problem where the status counters for a
    closing connection may increase after they have been added to
    the global status totals, and then decrease when the associated
    THD is deleted. This temporary bump in the counters can confuse
    monitoring processes.
    
    To fix the problem, add_to_status() is moved to the end of
    THD::release_resources(), ensuring that status counter
    increments will be added to the global status totals.
Loading