[JAVA-1122] Make JMX MBean names unique Created: 26/Feb/14  Updated: 31/Mar/15  Resolved: 16/Oct/14

Status: Closed
Project: Java Driver
Component/s: Monitoring
Affects Version/s: None
Fix Version/s: 3.0.0

Type: Improvement Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Ross Lawley
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by JAVA-1580 JMX error upon unloading Closed
Related
related to JAVA-1117 2.12.0-rc0 logs JMX InstanceAlreadyEx... Closed

 Description   

Currently you can get duplicates because the monotonically increasing integer used for clusterId is scope to a class loader, while the JMX server is scoped to the JVM. So we need another way to make the MBean names unique. A guid of some sort is probably required.



 Comments   
Comment by Jeffrey Yemin [ 31/Mar/15 ]

Closing all resolved 3.0.0 issues, as 3.0.0 has been tagged and released.

Comment by Githook User [ 30/Jan/15 ]

Author:

{u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}

Message: Make clusterId unique by using a ObjectId hexString

JAVA-1122
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/ae93c255929fcc03e5836fffd99998fd4ff59fc9

Comment by Githook User [ 16/Oct/14 ]

Author:

{u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}

Message: Make clusterId unique by using a ObjectId hexString

JAVA-1122
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/ae93c255929fcc03e5836fffd99998fd4ff59fc9

Generated at Thu Feb 08 08:53:51 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.