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

bulk write operations on config/admin triggers invariant failure

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.3.0
    • Fix Version/s: 3.2.1, 3.3.0
    • Component/s: Sharding
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Completed:
    • Sprint:
      Sharding E (01/08/16)
    • Linked BF Score:
      0

      Description

      The invariant was added to disallow bulk writes on the config server.

      commit: https://github.com/mongodb/mongo/commit/cdace0a4071983173e45d4bc11057a70d235bf67#diff-9b1bfd6f7cc997c693ba9f833b6a0752R904

      s20005| 2015-12-10T13:42:57.773-0500 I -        [conn2] Invariant failure batchRequest.sizeWriteOps() == 1 src/mongo/s/catalog/replset/catalog_manager_replica_set.cpp 904
      s20005|  mongos(_ZN5mongo15invariantFailedEPKcS1_j+0x183) [0x108626c73]
      s20005|  mongos(_ZN5mongo24CatalogManagerReplicaSet21_runBatchWriteCommandEPNS_16OperationContextERKNS_21BatchedCommandRequestEPNS_22BatchedCommandResponseERKNSt3__113unordered_setINS_10ErrorCodes5ErrorENS_13ShardRegistry14ErrorCodesHashENS8_8equal_toISB_EENS8_9allocatorISB_EEEE+0x196) [0x10837f5a6]
      s20005|  mongos(_ZN5mongo24CatalogManagerReplicaSet23writeConfigServerDirectEPNS_16OperationContextERKNS_21BatchedCommandRequestEPNS_22BatchedCommandResponseE+0x34) [0x10837f404]
      s20005|  mongos(_ZZN5mongo24ForwardingCatalogManager23writeConfigServerDirectEPNS_16OperationContextERKNS_21BatchedCommandRequestEPNS_22BatchedCommandResponseEENK4$_26clEv+0xBB) [0x1082fba9b]
      s20005|  mongos(_ZN5mongo24ForwardingCatalogManager5retryIZNS0_23writeConfigServerDirectEPNS_16OperationContextERKNS_21BatchedCommandRequestEPNS_22BatchedCommandResponseEE4$_26EEDTclclsr3stdE7forwardIT_Efp0_EEES3_OSA_+0x59) [0x1082f7679]
      s20005|  mongos(_ZN5mongo24ForwardingCatalogManager23writeConfigServerDirectEPNS_16OperationContextERKNS_21BatchedCommandRequestEPNS_22BatchedCommandResponseE+0x4B) [0x1082f760b]
      s20005|  mongos(_ZN5mongo13ClusterWriter5writeEPNS_16OperationContextERKNS_21BatchedCommandRequestEPNS_22BatchedCommandResponseE+0x1155) [0x1084a2d65]
      s20005|  mongos(_ZN5mongo12_GLOBAL__N_115ClusterWriteCmd3runEPNS_16OperationContextERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEERNS_7BSONObjEiRSA_RNS_14BSONObjBuilderE+0x24E) [0x10850231e]
      s20005|  mongos(_ZN5mongo7Command22execCommandClientBasicEPNS_16OperationContextEPS0_RNS_11ClientBasicEiPKcRNS_7BSONObjERNS_14BSONObjBuilderE+0xAFE) [0x1085830be]
      s20005|  mongos(_ZN5mongo7Command20runAgainstRegisteredEPNS_16OperationContextEPKcRNS_7BSONObjERNS_14BSONObjBuilderEi+0x3A4) [0x1085836c4]
      s20005|  mongos(_ZN5mongo8Strategy15clientCommandOpEPNS_16OperationContextERNS_7RequestE+0x1067) [0x10859ff67]
      s20005|  mongos(_ZN5mongo7Request7processEPNS_16OperationContextEi+0x58B) [0x10858190b]
      s20005|  mongos(_ZN5mongo21ShardedMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortE+0x101) [0x1079dcc71]
      s20005|  mongos(_ZN5mongo17PortMessageServer17handleIncomingMsgEPv+0x77D) [0x10867f22d]
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: