Bug #45461 Add an option to force a resync
Submitted: 11 Jun 2009 19:13 Modified: 28 Jul 2009 10:44
Reporter: Diego Medina Email Updates:
Status: Closed Impact on me:
Category:MySQL Enterprise Monitor: Server Severity:S4 (Feature request)
Version: OS:Any
Assigned to: Darren Oldag CPU Architecture:Any

[11 Jun 2009 19:13] Diego Medina
We have had some agent bugs that are time related, specially related to when the service manager issues a resync command.

It would make it easier to debug if we had some way to force a rezync, other than restarting tomcat.

I don;t even need a UI link, using the rest api would be enough

How to repeat:
There is no way to repeat this :)
[1 Jul 2009 12:49] Enterprise Tools JIRA Robot
Darren Oldag writes: 
please decide if we need the 'hard reset' of a full agent resync cycle, or if the current patches 'soft reset' (just ask for inventory again) is good enough.
[6 Jul 2009 18:59] Enterprise Tools JIRA Robot
Mark Matthews writes: 
Review okay by me. I know Leith wanted different wording on the link. Leith, ball's in your court.
[7 Jul 2009 15:05] Enterprise Tools JIRA Robot
Mark Leith writes: 
All looks good to me. 

I've supplied a suggested patch to Oldag that renames "refresh" to "re-inventory now", as this is consistent to our wording in the global settings page on top of this as well.
[13 Jul 2009 16:57] Enterprise Tools JIRA Robot
Darren Oldag writes: 
refresh link is there, patch is approved.

if someone wants to change verbage, re-open and re-assign to "any idiot server dev" or just create a new issue.
[16 Jul 2009 18:46] Enterprise Tools JIRA Robot
Andy Bang writes: 
In build
[21 Jul 2009 19:44] Enterprise Tools JIRA Robot
Diego Medina writes: 
Verified fixed on

One way to see this working is by monitoring one mysqld, keep the agent running while you upgrade the mysqld to a newer version, without clicking on the new refresh link, the new mysqld version does not show on the metadata (Main Monitor page)
[28 Jul 2009 10:44] Tony Bedford
An entry was added to the 2.1.0 changelog:

There was no way to force the Agent to resynch with the Service Manager. A link has now been added. The link can be found on the Settings, Manage Servers page - click the context menu next to a server, the menu now contains a Refresh item.