[SERVER-23567] Fetcher should blacklist sources that return unexpected errors Created: 06/Apr/16  Updated: 25/Jan/17  Resolved: 07/Apr/16

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: 3.2.4
Fix Version/s: 3.3.5

Type: Bug Priority: Major - P3
Reporter: Eric Milkie Assignee: Benety Goh
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-23164 Updates with null characters in key n... Closed
is related to SERVER-7005 Documents containing keys with embedd... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Steps To Reproduce:

Use the test in SERVER-23164 to see an example of this behavior.

Sprint: Repl 13 (04/22/16)
Participants:
Linked BF Score: 0

 Description   

Currently, if the fetcher query receives a query error from the sync source, the replication code immediately disconnects and reconnects to the same sync source and runs the same query again. Depending on the cause of the error, this can cause an infinite flood of connections to the sync source.



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

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-23567 BackgroundSync blacklists source when it gets invalid BSON error in oplog query response
Branch: master
https://github.com/mongodb/mongo/commit/78c4aed7ef176fac048374fb0fce7b967de4c941

Comment by Githook User [ 07/Apr/16 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-23567 protect access to _syncSourceHost in BackgroundSync
Branch: master
https://github.com/mongodb/mongo/commit/b1c75184f0e771ba3e6cb8d8de1440003b84515e

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