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

Check if sharding is enabled inside ~ScopedOperationCompletionShardingActions

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.1.1
    • 4.0.0, 4.1.1
    • Sharding
    • None
    • Fully Compatible
    • ALL
    • 50

    Description

      If the config database gets dropped while we are setting up config.system.sessions inside
      LogicalSessionCacheImpl::_refresh, we will get a CannotImplicitlyCreateCollection error. This error is then handled inside the destructor of ScopedOperationCompletionShardingActions which tries to do getConfigServer(). This will trigger a segmentation fault if the cluster is not sharded. 

      Attachments

        Activity

          People

            cheahuychou.mao@mongodb.com Cheahuychou Mao
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: