Ticket #2309 (closed defect: Fixed)
ZenJMX config cycle creates duplicate call objects unnecessarily
| Reported by: | chris | Owned by: | chris |
|---|---|---|---|
| Priority: | 2 - High | Milestone: | zenoss-2.2 |
| Component: | ZenPack | Version: | 2.1.0 |
| Keywords: | zenoss-2.1.1-accepted | Cc: | zenoss-2.1.1-accepted |
| Community Patch Attached: | Deployed @ Customer: | ||
| Installer: | Maintenance Target: | ||
| Specific ZenPack: | Maintenance Status: | ||
| Documentation Note?: | Not required | Regression: |
Description
Every 6 hours ZenJMX issues a config call to get a list of data sources of type JMX. It then creates call objects based on the configuration.
To avoid creating duplicates we keep a cache of hashcodes associated with previous calls. If the hashcode has already been seen we don't create a new call.
There's a problem in the hashcode calculation that has resulted in duplicate calls being created.
Change History
Note: See
TracTickets for help on using
tickets.