[SERVER-42993] Convert static methods to free functions in oplog application code path Created: 23/Aug/19 Updated: 29/Oct/23 Resolved: 04/Sep/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.1 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | A. Jesse Jiryu Davis | Assignee: | A. Jesse Jiryu Davis |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Repl 2019-08-26, Repl 2019-09-09 |
| Participants: |
| Description |
|
The oplog application code uses a mix of classes and free functions, but there are a few static methods as well: SyncTail::syncApply and ApplierHelpers::stableSortByNamespace. In order to use fewer different kinds of functions, convert these static methods to free functions. |
| Comments |
| Comment by Githook User [ 04/Sep/19 ] |
|
Author: {'name': 'A. Jesse Jiryu Davis', 'username': 'ajdavis', 'email': 'jesse@mongodb.com'}Message: |