[SERVER-21958] Eliminate unused flags from Cloner methods Created: 18/Dec/15  Updated: 25/Jan/17  Resolved: 21/Dec/15

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 3.2.3, 3.3.0

Type: Improvement Priority: Major - P3
Reporter: Andy Schwerin Assignee: Andy Schwerin
Resolution: Done Votes: 0
Labels: code-only
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Backport Completed:
Sprint: Sharding E (01/08/16)
Participants:

 Description   

The mayBeInterrupted and mayYield flags are always set to true, so we should just eliminate them.



 Comments   
Comment by Githook User [ 21/Jan/16 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-21958 Fix lint error

(cherry picked from commit 3323bd3d86cf2ac724a5a2fc066ffcee9a176193)
Branch: v3.2
https://github.com/mongodb/mongo/commit/3400f82a11ad01d52b9c4e2991d3aaa63b61ef04

Comment by Githook User [ 21/Jan/16 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-21958 Remove mayYield and mayBeInterrupted flags from cloner, as it is always set to true.

(cherry picked from commit 329132d8098db7922902b8a46ea4f46a94408188)
Branch: v3.2
https://github.com/mongodb/mongo/commit/59218cfc3c0311e55570938b594814137bbaf998

Comment by Githook User [ 21/Dec/15 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-21958 Fix lint error
Branch: master
https://github.com/mongodb/mongo/commit/3323bd3d86cf2ac724a5a2fc066ffcee9a176193

Comment by Githook User [ 21/Dec/15 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-21958 Remove mayYield and mayBeInterrupted flags from cloner, as it is always set to true.
Branch: master
https://github.com/mongodb/mongo/commit/329132d8098db7922902b8a46ea4f46a94408188

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