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

Provide better message on wassert(d.size() < 1024)

    • Fully Compatible

      This is not a very helpful error message when message processing backs up. In ReplSetHealthPollTask::up -> Manager::msgCheckNewState.

       [rsHealthPoll]   warning assertion failure d.size() < 1024 src/mongo/util/concurrency/task.cpp 122
      0xaf8c41 0xabe07a 0xac681b 0x94dd6a 0x950553 0xac65ce 0xac1cfe 0xac3344 0xb3ec79 0x35062077e1 0x3505ae18ed 
       /usr/bin/mongod(_ZN5mongo15printStackTraceERSo+0x21) [0xaf8c41]
       /usr/bin/mongod(_ZN5mongo9wassertedEPKcS1_j+0x11a) [0xabe07a]
       /usr/bin/mongod(_ZN5mongo4task6Server4sendEN5boost8functionIFvvEEE+0x19b) [0xac681b]
       /usr/bin/mongod(_ZN5mongo21ReplSetHealthPollTask2upERKNS_7BSONObjERNS_13HeartbeatInfoE+0xada) [0x94dd6a]
       /usr/bin/mongod(_ZN5mongo21ReplSetHealthPollTask6doWorkEv+0xd3) [0x950553]
       /usr/bin/mongod(_ZN5mongo4task4Task3runEv+0x1e) [0xac65ce]
       /usr/bin/mongod(_ZN5mongo13BackgroundJob7jobBodyEN5boost10shared_ptrINS0_9JobStatusEEE+0xbe) [0xac1cfe]
       /usr/bin/mongod(_ZN5boost6detail11thread_dataINS_3_bi6bind_tIvNS_4_mfi3mf1IvN5mongo13BackgroundJobENS_10shared_ptrINS7_9JobStatusEEEEENS2_5list2INS2_5valueIPS7_EENSD_ISA_EEEEEEE3runEv+0x74) [0xac3344]
       /usr/bin/mongod() [0xb3ec79]
       /lib64/libpthread.so.0() [0x35062077e1]
       /lib64/libc.so.6(clone+0x6d) [0x3505ae18ed]
      Wed Dec 19 14:26:58 [rsHealthPoll] rate limiting wassert
      

            Assignee:
            scotthernandez Scott Hernandez (Inactive)
            Reporter:
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: