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

Only join the grpc iothread if it is running

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Networking & Observability
    • Fully Compatible
    • ALL
    • Hide

      Start mongod like this:

       ./build/install/bin/mongod --dbpath=blah/blah --setParameter featureFlagEgressGrpcForSearch=true --setParameter useGrpcForSearch=1

      and you will see a seg fault instead of a graceful failure due to the dbpath not existing.

      Show
      Start mongod like this: ./build/install/bin/mongod --dbpath=blah/blah --setParameter featureFlagEgressGrpcForSearch= true --setParameter useGrpcForSearch=1 and you will see a seg fault instead of a graceful failure due to the dbpath not existing.
    • Networking & Obs 2025-01-20

      If the GRPC Client is created as part of startup and then the server is immediately shutdown, then shutdown may try to access the channel pool and stub factory pointers, which may not have been created yet, because the start() method hasn't been called yet on the transport layer. Ensure that the GRPC client shutdown tasks checks that the pool & _prunerService pointers are present before attempting to access them.

            Assignee:
            didier.nadeau@mongodb.com Didier Nadeau
            Reporter:
            erin.mcnulty@mongodb.com Erin McNulty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: