[SERVER-35287] File-global variables in oplog.cpp should be decorations on ServiceContext Created: 30/May/18 Updated: 29/Oct/23 Resolved: 31/May/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.1 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Andy Schwerin | Assignee: | Andy Schwerin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Participants: |
| Description |
|
oplog.cpp contains several file-scoped variables that ought instead exist per instance of ServiceContext. It also contains a few now-unused global variables, which should be removed. This ticket's task is to remove the disused variables and move the remainder into a decoration on the ServiceContext. The variables to remove are:
The variables to move to a decoration are:
|
| Comments |
| Comment by Githook User [ 31/May/18 ] |
|
Author: {'username': 'amschwerin', 'name': 'Andy Schwerin', 'email': 'schwerin@mongodb.com'}Message: Also, remove some disused file-scoped global variables. |