[JAVA-872] MongoOptions neglects to copy alwaysUseMBeans and reset writeConcern Created: 13/Jul/13  Updated: 19/Oct/16  Resolved: 13/Jul/13

Status: Closed
Project: Java Driver
Component/s: Configuration
Affects Version/s: None
Fix Version/s: 2.11.3

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

Issue Links:
Depends
Duplicate
is duplicated by JAVA-945 alwaysUseMBeans is not honoured Closed
Related

 Description   

The alwaysUseMBeans property is not copied from MongoClientOptions. This will affect anyone setting this property to true in MongoClientOption.

The writeConcern property is not reset in the reset method. This will affect anyone relying on the reset method to reset the writeConcern (not common).



 Comments   
Comment by auto [ 12/Sep/13 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-872: Set alwaysUseMBeans in MongoOptions(MongoClientOptions) constructor. See writeConcern to null in MongoClientOptions.reset() and MongoClientOptions.copy()
Branch: 2.11.x
https://github.com/mongodb/mongo-java-driver/commit/289edc6c6f953d6ec13fbc2f3638f1efbce79068

Comment by auto [ 13/Jul/13 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-872: Set alwaysUseMBeans in MongoOptions(MongoClientOptions) constructor. See writeConcern to null in MongoClientOptions.reset() and MongoClientOptions.copy()
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/777794d412bef3db14ff8d04411e0e9f2ce328cf

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