[SERVER-10007] better logging for dbclient_rs Created: 24/Jun/13  Updated: 11/Jul/16  Resolved: 25/Jun/13

Status: Closed
Project: Core Server
Component/s: Internal Client
Affects Version/s: None
Fix Version/s: 2.5.1

Type: Improvement Priority: Major - P3
Reporter: Greg Studer Assignee: Greg Studer
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Participants:

 Description   

The replica set node selection and retry logic is extremely hard to debug, and has very little logging in the node selection codepaths. We need to add better logging here to make it clear what decisions are being made by the replica set connections and monitor in terms of selecting nodes (with tags, readprefs, etc.) and what information we're using there.



 Comments   
Comment by auto [ 02/Aug/13 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-10007 compile fail, toString() needed for str::stream()
Branch: v2.4
https://github.com/mongodb/mongo/commit/4439f7ac67ce428de77a51c23d7c99f3fac2b2c6

Comment by auto [ 02/Aug/13 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-10007 better logging for dbclient_rs.cpp
Branch: v2.4
https://github.com/mongodb/mongo/commit/2c0ae78a0e91f90aae488d68af4f9637eb1369dc

Comment by auto [ 25/Jun/13 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-10007 compile fail, toString() needed for str::stream()
Branch: master
https://github.com/mongodb/mongo/commit/d0cffa96c1761a79b52ff36b5441e845ed6bd3f0

Comment by auto [ 25/Jun/13 ]

Author:

{u'username': u'gregstuder', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-10007 better logging for dbclient_rs.cpp
Branch: master
https://github.com/mongodb/mongo/commit/d813c5b15e390e9e181a761059bc350028bb8472

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