[JAVA-3626] Reduce Client Time To Recovery On Topology Changes Created: 12/Feb/20  Updated: 28/Oct/23  Resolved: 28/May/20

Status: Closed
Project: Java Driver
Component/s: Cluster Management
Affects Version/s: None
Fix Version/s: 4.1.0

Type: New Feature Priority: Major - P3
Reporter: Esha Bhargava Assignee: Jeffrey Yemin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Epic Link: Java MongoDB 4.4 Support

 Comments   
Comment by Githook User [ 30/Jun/20 ]

Author:

{'name': 'jyemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}

Message: Synchronize access to ArrayList in prose test

This prevents the occasional ConcurrentModificationException during
test runs.

JAVA-3626
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/41a2dff66f4722b55f45c7ac004725cafc16cc1e

Comment by Githook User [ 30/Jun/20 ]

Author:

{'name': 'jyemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}

Message: Ensure connection is closed in monitor before thread completes

If the monitor was in the process of opening a new connection when
it is closed, the monitor's close method won't close the socket
because it hasn't been set yet. This ensures that the run method
closes it.

JAVA-3626
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/dbf00169febad4065d354a3fa9511ed28b63757f

Comment by Githook User [ 30/Jun/20 ]

Author:

{'name': 'jyemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}

Message: Prevent a new connection from being cancelled

JAVA-3626
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/9ad28d4392c2e3fbf70969284e59b18b42a9354f

Comment by Githook User [ 30/Jun/20 ]

Author:

{'name': 'jyemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}

Message: Don't reset RTT on error in RTT monitor

This avoids ever having a 0 value for RTT

JAVA-3626
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/67f2b305d88657344fc297df8e57ccd07123be4a

Comment by Githook User [ 28/May/20 ]

Author:

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

Message: Introduce streaming ismaster monitoring protocol

  • DefaultServerMonitor implements the new streaming isMaster protocol,
    if available, to detect topology changes sooner. This capability was
    added in MongoDB release 4.4.
  • This requires the ability to increase the read timeout on a per-read
    basis. Since the Stream class is public, this has to be done carefully
    in order to avoid using the streaming protocol with Stream implementations
    that don't have this ability. All the built-in Stream implementations have
    had this ability added, so in practice it should not happen unless an
    application has created its own Stream implementation (unlikely).
  • Implement the new server discovery and monitoring specification integration
    tests
  • Fix some remaining bugs in error handling

JAVA-3626
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/c8b028a509c825c0de30c67fa1eb6a5871d8bea9

Comment by Githook User [ 28/May/20 ]

Author:

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

Message: Add initial ServerDescription to InternalConnection

JAVA-3626
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/665cc9bda9d2e5ecf94212103f507d1c423a4579

Comment by Githook User [ 24/Feb/20 ]

Author:

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

Message: Removed deprecation of oplogReplay in internal classes

JAVA-3626
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/61e817440a97b24dd426f9184089a103717810a0

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