Bug #34352 Agent should spool DC data to disk file when disconnected from service manager
Submitted: 6 Feb 2008 15:52 Modified: 9 Jan 2015 10:01
Reporter: Mark Leith Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Enterprise Monitor: Agent Severity:S4 (Feature request)
Version: OS:Any
Assigned to: Assigned Account CPU Architecture:Any

[6 Feb 2008 15:52] Mark Leith
Description:
Currently when the agent disconnects from the service manager (such as the service manager going down), it collects data up to backlog-threshold minutes, and then discards data older than that period whilst disconnected. 

To save losing this data, it would be far better to spool this data to an (XML) file on the agent machines filesystem instead, and then push the contents of that file back to the service manager once reconnected. 

This will also completely cut down on any memory growth issues, as the data would be spooled to disk rather than stored within memory. 

How to repeat:
N/A

Suggested fix:
Spool data collection to the disk instead of keeping it in memory and discarding older data.
[6 Feb 2008 15:55] Darren Oldag
how about making it "optional" of course... with all the bells and whistles

memory backlog
disk backlog
etc

my fear is that if we default to unlimited disk backlog, someone will forget about it and we'll eat up all the disk.