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

Remove responsibility for periodically refreshing RWC defaults and balancer configuration from RouterUptimeReporter

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The RouterUptimeReporter is a component responsible primarily for periodically pinging the config server from the router to report that the router is still up.

      However, it also has the responsibility to periodically refresh RWC defaults and the balancer configuration. 

      This adds confusion in the case of mongod's embedded-routing capability; for the router-role in mongod to be correct, it still needs to periodically refresh these configurations. But, it shouldn't always report itself as a router to the config server, because the routing capability may not be available to the user (i.e. it should only report itself as a router if the routerPort is opened, not just for the internal routing capability). 

       

      Today, this is handled by conditionals in the code, but it would be better to separate out this responsibility into a more obvious place. 

            Assignee:
            Unassigned Unassigned
            Reporter:
            george.wangensteen@mongodb.com George Wangensteen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              None
              None
              None
              None