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

Potential segmentation fault on BalancerScheduler (investigation)

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • Sharding EMEA
    • ALL
    • Sharding EMEA 2023-02-06

    Description

      There is a potential segmentation fault when the BalancerScheduler submits a remote request.

      On BalancerCommandsSchedulerImpl::_submit method, we are sending a fire and forget request with an opCtx pointer attached to the request that goes out of scope right after sending the request.

      However, there is no occurrence of this failure, probably because the scheduler has been faster than the deletion of the OperationContext so far.

      Attachments

        Activity

          People

            silvia.surroca@mongodb.com Silvia Surroca
            silvia.surroca@mongodb.com Silvia Surroca
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: