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

Check if sharding is enabled inside ~ScopedOperationCompletionShardingActions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 4.0.0, 4.1.1
    • Fix Version/s: 4.1.1
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Linked BF Score:
      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

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: