Ingress gRPC options appear in --help output

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Networking & Observability
    • ALL
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 0

      The test-only ingress gRPC options can be observed in the --help output and are parsed by the server, even in production builds of the server from what I can tell. They appear to be noops due to the MONGO_CONFIG_GRPC build flag, however.

      $ mongod --help | grep grpc 
        --grpcPort arg                        gRPC listener port
        --grpcServerMaxThreads arg            Limit of maximum number of gRPC session
      $ mongod --version
      db version v8.2.0-alpha
      Build Info: {
          "version": "8.2.0-alpha",
          "gitVersion": "nogitversion",
          "openSSLVersion": "OpenSSL 3.0.2 15 Mar 2022",
          "modules": [
              "enterprise"
          ],
          "allocator": "tcmalloc-google",
          "environment": {
              "distarch": "aarch64",
              "target_arch": "aarch64"
          }
      } 

       

            Assignee:
            Amirsaman Memaripour
            Reporter:
            Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: