[JAVA-4621] MongoClientOptions should be able to accept a value for maintenanceInitialDelayMs Created: 18/May/22  Updated: 28/Oct/23  Resolved: 18/May/22

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

Type: Improvement Priority: Minor - P4
Reporter: Ramasai Tadepalli Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Documentation Changes: Not Needed

 Description   

Right now, a value for maintenanceInitialDelayMs can be set using ConnectionPoolSettigs.Builder. However, this can only be accessed via MongoClientSettings, and not MongoClientOptions. This makes providing a value for maintenanceInitialDelayMs impossible for those using the legacy MongoClient. This should be changed so that MongoClientOptions is aware of all options that can be passed through MongoClientSettings.



 Comments   
Comment by Cloud GitHub Webhooks [ 18/May/22 ]

jyemin merged a pull request (JAVA-4621 Add maintenanceInitialDelay param to 4.4.x+4422) into the following branch:
4.4.x+4422: 818d1fd1490b81f8fb0786a1dac3c390deb1d4eb

Comment by Githook User [ 18/May/22 ]

Author:

{'name': 'Ramasai Tadepalli', 'email': '18359686+ramasai1@users.noreply.github.com', 'username': 'ramasai1'}

Message: Add maintenance initial delay and frequency to MongoClientOptions (#941)

JAVA-4621
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/baf54b45507703ee2945ff0b6f53d0e7acb6816b

Comment by Cloud GitHub Webhooks [ 18/May/22 ]

jyemin merged a pull request (JAVA-4621 Add maintenanceInitialDelay to MongoClientOptions) into the following branch:
master: baf54b45507703ee2945ff0b6f53d0e7acb6816b

Generated at Thu Feb 08 09:02:33 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.