Check if sharding is enabled inside ~ScopedOperationCompletionShardingActions

XMLWordPrintableJSON

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

      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
              Reporter:
              Cheahuychou Mao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: