[SERVER-4385] SyncClusterConnection should refresh sub-connections on recieving exceptions Created: 29/Nov/11  Updated: 11/Jul/16  Resolved: 29/Mar/12

Status: Closed
Project: Core Server
Component/s: Internal Client
Affects Version/s: 2.1.0
Fix Version/s: 2.0.5, 2.1.1

Type: Bug Priority: Major - P3
Reporter: Greg Studer Assignee: siddharth.singh@10gen.com
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File synctest.js    
Issue Links:
Depends
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

SyncClusterConnection logs but then ignores exceptions thrown when sending data to config servers (see syncclusterconnection.cpp::call() ) so long as a single config server is reachable. When a socket exception is detected here, a new connection should be created in case a new server has come back online.

There could also be a timeout interval for the new connection, to avoid repeated bad attempts.



 Comments   
Comment by auto [ 10/Jul/12 ]

Author:

{u'date': u'2012-07-10T11:10:28-07:00', u'name': u'Siddharth Singh', u'email': u'singhsiddharth@gmail.com'}

Message: SERVER-4385 Test-SyncClusterConn refreshes conn

Test that SyncClusterConnection refreshes sub-connections on recieving
exceptions.
Branch: master
https://github.com/mongodb/mongo/commit/e381b19452b49ef66b107fce7d3dd62336975f4a

Comment by auto [ 07/Apr/12 ]

Author:

{u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: DBClientConnection::call needs to call checkConnection to reconnect if the previous socket was failed SERVER-4385
Branch: v2.0
https://github.com/mongodb/mongo/commit/654b5284e484b8f877bd15771938030c11870c1e

Comment by Andy Schwerin [ 28/Mar/12 ]

Reopened pending testing.

Comment by auto [ 28/Mar/12 ]

Author:

{u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: DBClientConnection::call needs to call checkConnection to reconnect if the previous socket was failed SERVER-4385
Branch: master
https://github.com/mongodb/mongo/commit/0bba3a3e7ad9a7350c6a09f5be02a9e24feef270

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