[CDRIVER-1139] Network err must invalidate server description Created: 26/Feb/16  Updated: 15/Oct/17  Resolved: 03/Mar/16

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

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

Issue Links:
Related
related to CDRIVER-2329 Race in /Topology/invalidate_server/p... Closed
is related to CDRIVER-1141 getmore test failure Closed
is related to CDRIVER-438 Implement Server Discovery And Monito... Closed

 Description   

Server Discovery And Monitoring Spec:

When an application operation fails because of any network error besides a socket timeout, the client MUST replace the server's description with a default ServerDescription of type Unknown, and fill the ServerDescription's error field with useful information.

https://github.com/mongodb/specifications/blob/master/source/server-discovery-and-monitoring/server-discovery-and-monitoring.rst#network-error-when-reading-or-writing



 Comments   
Comment by Githook User [ 11/Mar/16 ]

Author:

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

Message: CDRIVER-1139 require auth for a topology test
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/0d811db37241a2d7535b72e114f05d0269937583

Comment by Githook User [ 03/Mar/16 ]

Author:

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

Message: CDRIVER-1139 net err invalidates server description
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/e103eb3274763aea11bc689b328d120798b63dfe

Comment by Hannes Magnusson [ 01/Mar/16 ]

I've reverted the commit for now

Comment by Githook User [ 01/Mar/16 ]

Author:

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

Message: Revert "CDRIVER-1139 net err invalidates server description"

This reverts commit 9e073448acdec96d75b185e44d5855ebbd78f764.
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/7ff234f91da0ebb361bae0393b51cb473a38b8a9

Comment by Hannes Magnusson [ 01/Mar/16 ]

This is causing evergreen some grieve, along with "random" local failures git bisected to 9e073448acdec96d75b185e44d5855ebbd78f764.

/Topology/max_wire_version_race_condition
and /Cursor/getmore_fail/with_primary/pooled for example are failing

Comment by Githook User [ 28/Feb/16 ]

Author:

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

Message: CDRIVER-1139 pooled version of invalidate() test
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/996f304a18df61772f9b82977488b16a381941c4

Comment by Githook User [ 27/Feb/16 ]

Author:

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

Message: CDRIVER-1139 net err invalidates server description
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/9e073448acdec96d75b185e44d5855ebbd78f764

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