[SERVER-45963] Introduce ReplicaSetNodeProcessInterface and a new TaskExecutor for it to use Created: 04/Feb/20  Updated: 29/Oct/23  Resolved: 14/Feb/20

Status: Closed
Project: Core Server
Component/s: Aggregation Framework
Affects Version/s: None
Fix Version/s: 4.3.4

Type: Task Priority: Major - P3
Reporter: David Storch Assignee: Mihai Andrei
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-45838 Rename/restructure mongo_process_inte... Closed
Backwards Compatibility: Minor Change
Sprint: Query 2020-02-10, Query 2020-02-24
Participants:

 Description   
  • This work should be based on top of the changes from SERVER-45838.
  • ReplicaSetNodeProcessInterface should behave identically to StandaloneProcessInterface for now; subsequent work will be done to introduce special behavior for RSNodeInterface.
    • This ticket will also involve creating StandaloneProcessInterface as a sibling of ReplicaSetNodeProcessInterface in the inheritance hierarchy.
  • The process interface factory should be changed under this ticket to hand out instances of the ReplicaSetNodeProcessInterface only if a few conditions are met:
    • The node is a member of a replica set but not a shardsvr. The POC proposes inferring this based on the presence of the new TaskExecutor on the ServiceContext.
    • enableTestCommands is set. This will have the effect of flag-guard the $merge/$out on secondaries feature into it is in a shippable state.
  • We can worry about attaching the right egress hooks in a subsequent ticket. Getting a basic version of the ReplicaSetNodeProcessInterface in place quickly will enable better parallelization of the remaining work.


 Comments   
Comment by Githook User [ 13/Feb/20 ]

Author:

{'name': 'Mihai Andrei', 'email': 'mihai.andrei@mongodb.com'}

Message: SERVER-45963 Introduce ReplicaSetNodeProcessInterface and a new TaskExecutor for it to use
Branch: master
https://github.com/mongodb/mongo/commit/00477b903ef7b06b4e561f8cca06f2ad580815a5

Generated at Thu Feb 08 05:10:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.