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

Check if sharding is enabled inside ~ScopedOperationCompletionShardingActions

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.1
    • Affects Version/s: 4.0.0, 4.1.1
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • 50

      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. 

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

              Created:
              Updated:
              Resolved: