[SERVER-27895] Remove MONGO_UNREACHABLE from ScopedMigrationRequest::writeMigration Created: 02/Feb/17  Updated: 05/Apr/17  Resolved: 02/Feb/17

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 3.5.3

Type: Bug Priority: Major - P3
Reporter: Dianna Hohensee (Inactive) Assignee: Dianna Hohensee (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding 2017-02-13
Participants:
Linked BF Score: 0

 Description   

The line here allows the code to leave the retry for-loop once max retries are exceeded. The scenario where it gets hit is quite rare: insert attempt, DuplicateKey error and find check finds nothing, and this would have to happen twice in a row.

The MONGO_UNREACHABLE after the loop shouldn't be there (obviously, since it was hit in BF-4593).



 Comments   
Comment by Githook User [ 02/Feb/17 ]

Author:

{u'username': u'DiannaHohensee', u'name': u'Dianna Hohensee', u'email': u'dianna.hohensee@10gen.com'}

Message: SERVER-27895 Remove MONGO_UNREACHABLE from ScopedMigrationRequest that can get hit
Branch: master
https://github.com/mongodb/mongo/commit/f4adad667540f1fa60797207644575edec69849c

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