Commits
Andrejs Kozlovs authored 9b14c48a0d6M
...G...... [ZBXNEXT-1686] added persistent queue for active items in Zabbix agent 2 * commit 'e5f0fece48e4812c1fda91e5379ddf459a5bfddb': ...G...... [ZBXNEXT-1686] moved Prepare() retry logic into Prepare() function ...G...... [ZBXNEXT-1686] database recreation and some fixes ...G...... [ZBXNEXT-1686] moved Logger interface from plugin to log package, added logger structure to allow easy logging for subcomponents prefixing message with [<module>] ...G...... [ZBXNEXT-1686] refactoring and minor fixes: * change baseCache embedding as pointer rather than structure, makes initialization more simple * move more shared variables to baseCache * add logger to baseCach - it will automatically add clientID to log messages * skip reading log history if data history already returned DataLimit records * do oldest data/log scan only if data/log were read/removed from history * set c.PersistFlag based on current time, oldest log and storage period * perform data cleanup based on current time instead of new value timestamp * add more error logging * perform oldest clock, persist flag initialization during init * wrap some parts of code in functions for reuse * change old data/log timestamp type to int64 to reduce typecasts .......... [ZBXNEXT-1686] changed database index names ...G...... [ZBXNEXT-1686] code review rework 3 ...G...... [ZBXNEXT-1686] code review rework 2 ...G...... [ZBXNEXT-1686] coding style improvements ...G...... [ZBXNEXT-1686] removed unused variables ...G...... [ZBXNEXT-1686] code review rework .D........ [ZBXNEXT-1686] added Changelog ...G...... [ZBXNEXT-1686] extended sql error check ...G...... [ZBXNEXT-1686] added persistent queue for active items in Zabbix agent 2 ...G...... [ZBXNEXT-1686] preliminary commit
Showing diff to2822442e1ed