[CDRIVER-696] Useful errors from server selection Created: 03/Jun/15  Updated: 19/Oct/16  Resolved: 23/Sep/15

Status: Closed
Project: C Driver
Component/s: libmongoc
Affects Version/s: None
Fix Version/s: 1.2-rc0

Type: New Feature Priority: Major - P3
Reporter: A. Jesse Jiryu Davis Assignee: Hannes Magnusson
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on CDRIVER-841 Improve SSL connection error messages Closed
Related
related to CDRIVER-543 differentiate between network error a... Closed
related to CDRIVER-898 Unify scanner node and server descrip... Closed
is related to PHPC-252 Application freezes for a minute when... Closed
is related to CDRIVER-1203 Include ismaster errors in server-sel... Closed

 Description   

Distinguish DNS err, auth, network timeout, etc. if a suitable server is not found.



 Comments   
Comment by Githook User [ 22/Apr/16 ]

Author:

{u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}

Message: CDRIVER-696 test-code style
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/18d66c10df797ec458241e8c622e8d0081a1feb0

Comment by Githook User [ 11/Jan/16 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: CDRIVER-696: Useful errors from server selection
Branch: 1.3.0-dev
https://github.com/mongodb/mongo-c-driver/commit/b34b6a7ff148b7d950ebe50f35c76c36b5b797e8

Comment by Githook User [ 26/Oct/15 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: CDRIVER-696: Useful errors from server selection
Branch: debian
https://github.com/mongodb/mongo-c-driver/commit/b34b6a7ff148b7d950ebe50f35c76c36b5b797e8

Comment by Githook User [ 07/Oct/15 ]

Author:

{u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}

Message: CDRIVER-696 fix test when server isn't on 27017
Branch: 1.2.0-dev
https://github.com/mongodb/mongo-c-driver/commit/413e60cfdbb91ffe867f37ba5a029c0fcd5f02cd

Comment by Githook User [ 25/Sep/15 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: CDRIVER-696: If the server description knows the last error, use it
Branch: 1.2.0-dev
https://github.com/mongodb/mongo-c-driver/commit/3d1669b9945cbf8374e21204fe0e49540139855f

Comment by Hannes Magnusson [ 23/Sep/15 ]

I think the latest round of error messaging improvements covers this in sufficient detail.

We currently do not report issues with borked topology, such as when we add/remove node from the scanner.

This is likely to be address by the upcoming SDAM APM spec later.

Comment by Githook User [ 23/Sep/15 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: CDRIVER-696: Aggregate the scanner node errors when Server Selection fails
Branch: 1.2.0-dev
https://github.com/mongodb/mongo-c-driver/commit/52d2a095202f5722842829ae547b9cabbbd4eda5

Comment by Githook User [ 23/Sep/15 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: CDRIVER-696: If the server description knows the last error, use it
Branch: 1.2.0-dev
https://github.com/mongodb/mongo-c-driver/commit/c8cb7ea46e3556b51d05e1ec481403a491bc5cfc

Comment by Githook User [ 23/Sep/15 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: CDRIVER-696: Store the topology_scanner node failure so we can report it later
Branch: 1.2.0-dev
https://github.com/mongodb/mongo-c-driver/commit/9d5bc13cb31e1309f20a434ced50ad88dde67426

Comment by Githook User [ 23/Sep/15 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: CDRIVER-696: Make the (currently unused) error field bson_error_t
Branch: 1.2.0-dev
https://github.com/mongodb/mongo-c-driver/commit/2013c9c38fcee1993d2bdcffb661c8e816465fb1

Comment by Githook User [ 23/Sep/15 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: CDRIVER-696: Quote the host for clarity
Branch: 1.2.0-dev
https://github.com/mongodb/mongo-c-driver/commit/7b16136aa2369fe3f334276f671fc540780662d8

Comment by Githook User [ 23/Sep/15 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: CDRIVER-696: This function has no errors to report
Branch: 1.2.0-dev
https://github.com/mongodb/mongo-c-driver/commit/2bb3d5cf79075682d245a515d5d43b792f3c9459

Comment by Githook User [ 23/Sep/15 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: CDRIVER-696: Add test for Useful errors from server selection
Branch: 1.2.0-dev
https://github.com/mongodb/mongo-c-driver/commit/d47cf9066c6a064e9fb9238b4eca31e3f7962948

Comment by Githook User [ 16/Sep/15 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: CDRIVER-696: Useful errors from server selection
Branch: 1.2.0-dev
https://github.com/mongodb/mongo-c-driver/commit/b34b6a7ff148b7d950ebe50f35c76c36b5b797e8

Generated at Wed Feb 07 21:10:20 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.