-
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.
Christopher Powers authoredThis 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