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

Invariant failure in cluster_cursor_manager.cpp, numDeleted == 1

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.2.0, 3.4.0, 3.6.7, 4.0.9
    • Component/s: Querying
    • ALL
    • Query 2017-03-06, Query 2017-07-10, Query 2020-04-06, Query 2020-04-20, Query 2020-05-04, Query Execution 2021-02-22, Query Execution 2021-03-08, Query Execution 2021-04-05, Query Execution 2021-04-19

      A user experienced the following invariant crash:

      2017-01-19T00:51:36.321+0800 I SHARDING [Balancer] distributed lock with ts: 587f9d18e078be11593c7930' unlocked.
      2017-01-19T00:51:43.319+0800 I -        [conn23249] Invariant failure numDeleted == 1 src/mongo/s/query/cluster_cursor_manager.cpp 472
      
      2017-01-19T00:51:43.319+0800 I -        [conn23249]
      
      ***aborting after invariant() failure
      
      
      2017-01-19T00:51:43.323+0800 F -        [conn23249] Got signal: 6 (Aborted).
      
       0xc42e82 0xc41da9 0xc425b2 0x366160f710 0x3661232625 0x3661233e05 0xbd7b4b 0xb794f8 0xb79779 0xb79a11 0xb7bf42 0xb32506 0xb84cb4 0xb8597d 0xb9418d 0xb842f6 0x672ea5 0xbfd2cd 0x36616079d1 0x36612e89dd
      ----- BEGIN BACKTRACE -----
      {"backtrace":[{"b":"400000","o":"842E82","s":"_ZN5mongo15printStackTraceERSo"},{"b":"400000","o":"841DA9"},{"b":"400000","o":"8425B2"},{"b":"3661600000","o":"F710"},{"b":"3661200000","o":"32625","s":"gsignal"},{"b":"3661200000","o":"33E05","s":"abort"},{"b":"400000","o":"7D7B4B","s":"_ZN5mongo15invariantFailedEPKcS1_j"},{"b":"400000","o":"7794F8","s":"_ZN5mongo20ClusterCursorManager19detachCursor_inlockERKNS_15NamespaceStringEx"},{"b":"400000","o":"779779","s":"_ZN5mongo20ClusterCursorManager13checkInCursorESt10unique_ptrINS_19ClusterClientCursorESt14default_deleteIS2_EERKNS_15NamespaceStringExNS0_11CursorStateE"},{"b":"400000","o":"779A11","s":"_ZN5mongo20ClusterCursorManager12PinnedCursor12returnCursorENS0_11CursorStateE"},{"b":"400000","o":"77BF42","s":"_ZN5mongo11ClusterFind10runGetMoreEPNS_16OperationContextERKNS_14GetMoreRequestE"},{"b":"400000","o":"732506"},{"b":"400000","o":"784CB4","s":"_ZN5mongo7Command22execCommandClientBasicEPNS_16OperationContextEPS0_RNS_11ClientBasicEiPKcRNS_7BSONObjERNS_14BSONObjBuilderE"},{"b":"400000","o":"78597D","s":"_ZN5mongo7Command20runAgainstRegisteredEPNS_16OperationContextEPKcRNS_7BSONObjERNS_14BSONObjBuilderEi"},{"b":"400000","o":"79418D","s":"_ZN5mongo8Strategy15clientCommandOpEPNS_16OperationContextERNS_7RequestE"},{"b":"400000","o":"7842F6","s":"_ZN5mongo7Request7processEPNS_16OperationContextEi"}
      

            Votes:
            1 Vote for this issue
            Watchers:
            34 Start watching this issue

              Created:
              Updated:
              Resolved: