-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 2.8.0-rc2
-
Component/s: Concurrency, Index Maintenance
-
Fully Compatible
-
ALL
TTLMonitor doesn't handle WriteConflictExceptions:
2014-12-11T02:12:42.519-0500 E COMMAND [TTLMonitor] backgroundjob TTLMonitor exception: WriteConflict 2014-12-11T02:12:42.520-0500 F - [TTLMonitor] terminate() called. An exception is active; attempting to gather more information 2014-12-11T02:12:42.530-0500 F - [TTLMonitor] DBException::toString(): 112 WriteConflict Actual exception type: mongo::WriteConflictException 0x18e54ea 0x18e4b2f 0x7fcbab15b836 0x7fcbab15b863 0x7fcbab15baf6 0x1885017 0x18881cd 0x1888136 0x18880b2 0x1888088 0x191fa12 0x7fcbab815182 0x7fcbaa915efd ----- BEGIN BACKTRACE ----- {"backtrace":[{"b":"400000","o":"14E54EA"},{"b":"400000","o":"14E4B2F"},{"b":"7FCBAB0FD000","o":"5E836"},{"b":"7FCBAB0FD000","o":"5E863"},{"b":"7FCBAB0FD000","o":"5EAF6"},{"b":"400000","o":"1485017"},{"b":"400000","o":"14881CD"},{"b":"400000","o":"1488136"},{"b":"400000","o":"14880B2"},{"b":"400000","o":"1488088"},{"b":"400000","o":"151FA12"},{"b":"7FCBAB80D000","o":"8182"},{"b":"7FCBAA81B000","o":"FAEFD"}],"processInfo":{ "mongodbVersion" : "2.8.0-rc3-pre-", "gitVersion" : "ae6df7a0b10cb40c2730b10f4057454ca6733b13", "uname" : { "sysname" : "Linux", "release" : "3.13.0-24-generic", "version" : "#47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014", "machine" : "x86_64" }, "somap" : [ { "elfType" : 2, "b" : "400000", "buildId" : "52D32BF4809C0B2192DB2004FEA5D92E271A3C3D" }, { "b" : "7FFFC8AFE000", "elfType" : 3, "buildId" : "6755FAD2CADACDF1667E5B57FF1EDFC28DD1C976" }, { "b" : "7FCBAB80D000", "path" : "/lib/x86_64-linux-gnu/libpthread.so.0", "elfType" : 3, "buildId" : "FE662C4D7B14EE804E0C1902FB55218A106BC5CB" }, { "b" : "7FCBAB605000", "path" : "/lib/x86_64-linux-gnu/librt.so.1", "elfType" : 3, "buildId" : "92FCF41EFE012D6186E31A59AD05BDBB487769AB" }, { "b" : "7FCBAB401000", "path" : "/lib/x86_64-linux-gnu/libdl.so.2", "elfType" : 3, "buildId" : "C1AE4CB7195D337A77A3C689051DABAA3980CA0C" }, { "b" : "7FCBAB0FD000", "path" : "/usr/lib/x86_64-linux-gnu/libstdc++.so.6", "elfType" : 3, "buildId" : "19EFDDAB11B3BF5C71570078C59F91CF6592CE9E" }, { "b" : "7FCBAADF7000", "path" : "/lib/x86_64-linux-gnu/libm.so.6", "elfType" : 3, "buildId" : "574C6350381DA194C00FF555E0C1784618C05569" }, { "b" : "7FCBAABE1000", "path" : "/lib/x86_64-linux-gnu/libgcc_s.so.1", "elfType" : 3, "buildId" : "8D0AA71411580EE6C08809695C3984769F25725B" }, { "b" : "7FCBAA81B000", "path" : "/lib/x86_64-linux-gnu/libc.so.6", "elfType" : 3, "buildId" : "7603ABF78951CC138A4105F4516B075D859DFC9A" }, { "b" : "7FCBABA2B000", "path" : "/lib64/ld-linux-x86-64.so.2", "elfType" : 3, "buildId" : "9F00581AB3C73E3AEA35995A0C50D24D59A01D47" } ] }} mongod(_ZN5mongo15printStackTraceERSo+0x27) [0x18e54ea] mongod(+0x14E4B2F) [0x18e4b2f] libstdc++.so.6(+0x5E836) [0x7fcbab15b836] libstdc++.so.6(+0x5E863) [0x7fcbab15b863] libstdc++.so.6(__cxa_rethrow+0x46) [0x7fcbab15baf6] mongod(_ZN5mongo13BackgroundJob7jobBodyEv+0x2B3) [0x1885017] mongod(_ZNKSt7_Mem_fnIMN5mongo13BackgroundJobEFvvEEclIIEvEEvPS1_DpOT_+0x65) [0x18881cd] mongod(_ZNSt5_BindIFSt7_Mem_fnIMN5mongo13BackgroundJobEFvvEEPS2_EE6__callIvIEILm0EEEET_OSt5tupleIIDpT0_EESt12_Index_tupleIIXspT1_EEE+0x48) [0x1888136] mongod(_ZNSt5_BindIFSt7_Mem_fnIMN5mongo13BackgroundJobEFvvEEPS2_EEclIIEvEET0_DpOT_+0x28) [0x18880b2] mongod(_ZN5boost6detail11thread_dataISt5_BindIFSt7_Mem_fnIMN5mongo13BackgroundJobEFvvEEPS5_EEE3runEv+0x1E) [0x1888088] mongod(+0x151FA12) [0x191fa12] libpthread.so.0(+0x8182) [0x7fcbab815182] libc.so.6(clone+0x6D) [0x7fcbaa915efd] ----- END BACKTRACE -----
Version: ae6df7a0b10