[CDRIVER-3673] Retryable write error checking should not search for "not master" / "node is recovering" substring Created: 15/May/20  Updated: 28/Oct/23  Resolved: 26/May/20

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.17.0-beta2, 1.17.0

Type: Bug Priority: Major - P3
Reporter: Kevin Albertson Assignee: Andreas Braun
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to CDRIVER-3462 Expand use of error labels for Retrya... Closed
Epic Link: C 4.4 Support

 Description   

_mongoc_write_error_is_retryable still defaults to checking the error message for the substrings "not master" or "node is recovering". That was removed from the retryable writes spec.



 Comments   
Comment by Githook User [ 26/May/20 ]

Author:

{'name': 'Andreas Braun', 'email': 'git@alcaeus.org', 'username': 'alcaeus'}

Message: CDRIVER-3673 Don't check error message for retryable write errors
Branch: r1.17
https://github.com/mongodb/mongo-c-driver/commit/1bfe7c2c33d9c0a8ab4bb8564cc1d5243f21e991

Comment by Githook User [ 26/May/20 ]

Author:

{'name': 'Andreas Braun', 'email': 'git@alcaeus.org', 'username': 'alcaeus'}

Message: CDRIVER-3673 Don't check error message for retryable write errors
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/20c0aa9a8d42397ffdf3808ff1aebef605b487ab

Comment by Andreas Braun [ 19/May/20 ]

https://github.com/mongodb/mongo-c-driver/pull/616

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