Ticket #2309 (closed defect: Fixed)

Opened 14 months ago

Last modified 3 months ago

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

Changed 14 months ago by chris

  • owner changed from edahl to jstevens
  • component changed from All to ZenPack

Changed 14 months ago by chris

  • owner changed from jstevens to chris

Changed 14 months ago by chris

(In [7451]) refs #1886, #2309: discard the hashcode from the Map representation of
the datasource config. this is a different value each time and
results in duplicated call objects.

Changed 14 months ago by chris

  • keywords 2.1.1-proposed added

Changed 14 months ago by chris

  • keywords zenoss-2.1.1-proposed added; 2.1.1-proposed removed

Changed 14 months ago by chris

  • cc zenoss-2.1.1-proposed added; 2.1.1-proposed removed

Changed 14 months ago by chris

  • cc zenoss-2.1.1-accepted added; zenoss-2.1.1-proposed removed
  • keywords zenoss-2.1.1-accepted added; zenoss-2.1.1-proposed removed

Changed 14 months ago by chris

  • status changed from new to closed
  • resolution set to fixed

Changed 3 months ago by bbibeault

  • documentation set to Not required
  • reviewed set to 1
Note: See TracTickets for help on using tickets.