[SERVER-77917] (SA) MongoD opens a second listening port dedicated to routing requests Created: 08/Jun/23  Updated: 29/Oct/23  Resolved: 25/Jul/23

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

Type: Task Priority: Major - P3
Reporter: Antonio Fuschetto Assignee: Amirsaman Memaripour
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-79144 Set router role setting only when `fe... Closed
Documented
is documented by DOCS-16278 Investigate changes in SERVER-77917: ... Closed
Assigned Teams:
Service Arch
Backwards Compatibility: Fully Compatible
Sprint: Service Arch 2023-07-10, Service Arch 2023-07-24, Server Serverless 2023-07-10, Service Arch 2023-08-07
Participants:

 Description   

The MongoD process should open a second listening port to receive requests which will be routed (by the embedded router) to the proper shards.

The characteristics of this port should be the same of the one opened by the MongoS (i.e., default port number, limit on the connections, etc.). The MongoD executable should accept the expected arguments to customize that port behaviour.

As a consequence, operation contexts and clients should have a getter function to determine the origin of the request, i.e., from router or shard port.

On the other hand, the standalone router (i.e., MongoS) should mark operation contexts and clients accordingly (from router by default).



 Comments   
Comment by Githook User [ 25/Jul/23 ]

Author:

{'name': 'Amirsaman Memaripour', 'email': 'amirsaman.memaripour@mongodb.com', 'username': 'samanca'}

Message: SERVER-77917 Listen on a separate port for internal connections
Branch: master
https://github.com/mongodb/mongo/commit/6742022beecdd2c1960054685d772861bd344d8d

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