Inexpensive status checks for a node

Bug #1103950 reported by Raghavendra D Prabhu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL patches by Codership
New
Undecided
Unassigned

Bug Description

'show status' seems to take involve non-trivial number of mutexes in something like 'show status like "%.."', also rather than a hash, it is an array, so each show status like that requires a O(n) traversal of the status vars array, so executing it even once per second as part of status check is not inexpensive.

So, it would be better to have a cheaper solution, something with an embedded library like libmicrohttpd (https://www.gnu.org/software/libmicrohttpd/ ) which can respond with appropriate headers depending on state of the node in the cluster.

So, not a bug, more of a feature request.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.