-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug#27839644 GLOBAL STATUS VARIABLES DRIFT AFTER ROLLBACK
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 branch information
Christopher Powers
committed
Dec 1, 2018
1 parent
dcba852
commit 91780f0
Showing
4 changed files
with
43 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters