-
Type: Improvement
-
Resolution: Duplicate
-
Priority: Trivial - P5
-
None
-
Affects Version/s: 2.4.5
-
Component/s: None
-
None
-
Environment:Windows
Secondaries can occassionally print message
Mon Dec 16 11:14:53.222 [rsHealthPoll] warning assertion failure d.size() < 1024 src\mongo\util\concurrency\task.cpp 121 Mon Dec 16 11:14:53.737 [rsHealthPoll] mongod.exe ...\src\mongo\util\stacktrace.cpp(189) mongo::printStackTrace+0x3e Mon Dec 16 11:14:53.737 [rsHealthPoll] mongod.exe ...\src\mongo\util\assert_util.cpp(101) mongo::wasserted+0x119 Mon Dec 16 11:14:53.737 [rsHealthPoll] mongod.exe ...\src\mongo\util\concurrency\task.cpp(121) mongo::task::Server::send+0x68 Mon Dec 16 11:14:53.737 [rsHealthPoll] mongod.exe ...\src\mongo\db\repl\heartbeat.cpp(458) mongo::ReplSetHealthPollTask::up+0x620 Mon Dec 16 11:14:53.737 [rsHealthPoll] mongod.exe ...\src\mongo\db\repl\heartbeat.cpp(258) mongo::ReplSetHealthPollTask::doWork+0x14e Mon Dec 16 11:14:53.737 [rsHealthPoll] mongod.exe ...\src\mongo\util\concurrency\task.cpp(57) mongo::task::Task::run+0x5c Mon Dec 16 11:14:53.737 [rsHealthPoll] mongod.exe ...\src\mongo\util\background.cpp(65) mongo::BackgroundJob::jobBody+0x316 Mon Dec 16 11:14:53.737 [rsHealthPoll] mongod.exe ...\src\third_party\boost\boost\bind\mem_fn_template.hpp(165) boost::_mfi::mf1<void,mongo::BackgroundJob,boost::shared_ptr<mongo::BackgroundJob::JobStatus> >::operator()+0x47 Mon Dec 16 11:14:53.737 [rsHealthPoll] mongod.exe ...\src\third_party\boost\boost\thread\detail\thread.hpp(63) boost::detail::thread_data<boost::_bi::bind_t<void,boost::_mfi::mf1<void,mongo::BackgroundJob,boost::shared_ptr<mongo::BackgroundJob::JobStatus> >,boost::_bi::list2<boost::_bi::value<mongo::BackgroundJob * __ptr64>,boost::_bi::value<boost::shared_ptr<mongo::BackgroundJob::JobStatus> > > > >::run+0x31 Mon Dec 16 11:14:53.737 [rsHealthPoll] mongod.exe ...\src\third_party\boost\libs\thread\src\win32\thread.cpp(180) boost::`anonymous namespace'::thread_start_function+0x21 Mon Dec 16 11:14:53.737 [rsHealthPoll] mongod.exe f:\dd\vctools\crt_bld\self_64_amd64\crt\src\threadex.c(314) _callthreadstartex+0x17 Mon Dec 16 11:14:53.737 [rsHealthPoll] mongod.exe f:\dd\vctools\crt_bld\self_64_amd64\crt\src\threadex.c(292) _threadstartex+0x7f Mon Dec 16 11:14:53.737 [rsHealthPoll] kernel32.dll BaseThreadInitThunk+0xd
when the internal work queue gets large and replica set heartbeats are backed up.
The current error message is not very informational and does seem to indicate a more serious error. Please improve logging to make it clear that this is an internal queue issue only.
- duplicates
-
SERVER-11034 Provide better message on wassert(d.size() < 1024)
- Closed