Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-79872

Validate `routerPort` with implicit value as configuration file option

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Sharding EMEA
    • Sharding EMEA 2023-08-21
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The --routerPort command line option enables the process to listen to the port 27016 for routing request. This also allows to specify a custom port as an option value, e.g., --routerPort 13000.

      Is it possibile to have this option with the same behaviour in a YAML configuration file?

      The possible use cases to consider are:

      1. Enable the embedded router on the default port
      2. Enabled the embedded router on a custom port

      The format should be the following:

      net: 
          routerPort: 13000
      

            Assignee:
            pol.pinol@mongodb.com Pol Pinol
            Reporter:
            antonio.fuschetto@mongodb.com Antonio Fuschetto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: