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

Disable Serverless machinery if serverless is not enabled

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Server Serverless 2023-05-15, Server Serverless 2023-05-29, Server Serverless 2023-06-12, Server Serverless 2023-06-26

      Now that Atlas has started using the `–serverless` parameter, we can use it to decide if we need the serverless machinery at startup. If we don't, not adding it will remove superfluous logs and operations. We can exit early from the MTAB logic (checkIfCanRead, etc), not starting the PrimaryOnlyService and OpObserver for Tenant Migration, Shard Merge and Shard Split.

            Assignee:
            didier.nadeau@mongodb.com Didier Nadeau
            Reporter:
            didier.nadeau@mongodb.com Didier Nadeau
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: