[SERVER-80991] (SA) Dispatch requests received from the router port via ServiceEntryPointMongos when running mongod in embedded router mode Created: 12/Sep/23  Updated: 16/Nov/23  Resolved: 29/Sep/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.2.0-rc0

Type: Task Priority: Major - P3
Reporter: George Wangensteen Assignee: George Wangensteen
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-77921 (SA) Support for different ServiceEnt... Closed
Assigned Teams:
Service Arch
Backwards Compatibility: Fully Compatible
Sprint: Service Arch 2023-10-02
Participants:

 Description   

When we receive a request on the router port, we should enter the service layer via ServiceEntryPointMongos/strategy.cpp when running a mongod in embedded router mode. This ticket covers:

  • Tagging Client and OperationContext as needed with information as to what role the client/operation is acting under
  • Code changes in ServiceEntryPointImpl/ServiceStateMachine so that router-requests on mongod (when running in embedded router mode) are dispatched via ServiceEntryPointMongos::handleRequest
  • If needed, updating ServiceEntryPoint implementations to use the correct command registry, so ServiceEntryPointMongos uses the router-role command registry and ServiceEntryPointComman uses the shard-role command registry


 Comments   
Comment by Githook User [ 29/Sep/23 ]

Author:

{'name': 'George Wangensteen', 'email': 'george.wangensteen@mongodb.com', 'username': 'gewa24'}

Message: SERVER-80991 Make ServiceEntryPoint a member of Service rather than ServiceContext
Branch: master
https://github.com/mongodb/mongo/commit/151a8cd286d1e478333a2992ea8e78d825347456

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