[SERVER-25132] mongod, with wiredTiger, aborts when downgrading to 3.2.1 with protocolVersion 0 Created: 18/Jul/16  Updated: 05/Apr/17  Resolved: 25/Aug/16

Status: Closed
Project: Core Server
Component/s: Replication, WiredTiger
Affects Version/s: 3.2.1
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Jonathan Abrahams Assignee: DO NOT USE - Backlog - Test Infrastructure Group (TIG)
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File minor_version_downgrade_replset-wt.log    
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

The test jstests/multiVersion/minor_version_downgrade_replset.js fails, when running the replica set with wiredTiger:

[js_test:minor_version_downgrade_replset] 2016-07-18T15:11:23.574-0400 d20011| 2016-07-18T15:11:23.574-0400 I -        [initandlisten] Assertion: 13111:wrong type for field (ns) 10 != 2
[js_test:minor_version_downgrade_replset] 2016-07-18T15:11:23.579-0400 d20011| 2016-07-18T15:11:23.579-0400 I CONTROL  [initandlisten]
[js_test:minor_version_downgrade_replset] 2016-07-18T15:11:23.580-0400 d20011|  0x104da93b9 0x104d5f80c 0x104d4f825 0x104d4f68a 0x1044f9e5d 0x104adc987 0x104ae6302 0x104b6e17e 0x104abefb6 0x1044d1837 0x1044d0c23 0x1044d4e1c 0x1044d0c04
[js_test:minor_version_downgrade_replset] 2016-07-18T15:11:23.580-0400 d20011| ----- BEGIN BACKTRACE -----
[js_test:minor_version_downgrade_replset] 2016-07-18T15:11:23.583-0400 d20011| {"backtrace":[{"b":"1044D0000","o":"8D93B9"},{"b":"1044D0000","o":"88F80C"},{"b":"1044D0000","o":"87F825"},{"b":"1044D0000","o":"87F68A"},{"b":"1044D0000","o":"29E5D"},{"b":"1044D0000","o":"60C987"},{"b":"1044D0000","o":"616302"},{"b":"1044D0000","o":"69E17E"},{"b":"1044D0000","o":"5EEFB6"},{"b":"1044D0000","o":"1837"},{"b":"1044D0000","o":"C23"},{"b":"1044D0000","o":"4E1C"},{"b":"1044D0000","o":"C04"}],"processInfo":{ "mongodbVersion" : "3.2.1", "gitVersion" : "a14d55980c2cdc565d4704a7e3ad37e4e535c1b2", "compiledModules" : [], "uname" : { "sysname" : "Darwin", "release" : "15.5.0", "version" : "Darwin Kernel Version 15.5.0: Tue Apr 19 18:36:36 PDT 2016; root:xnu-3248.50.21~8/RELEASE_X86_64", "machine" : "x86_64" }, "somap" : [ { "path" : "/usr/local/bin/mongod-3.2.1", "machType" : 2, "b" : "1044D0000", "buildId" : "393117B97A9A3E4A9A555E3C8169AB7A" }, { "path" : "/usr/lib/libSystem.B.dylib", "machType" : 6, "b" : "7FFF9A63A000", "buildId" : "C5D09FE1CC70383EAC2718602F2EDEC4" }, { "path" : "/usr/lib/libc++.1.dylib", "machType" : 6, "b" : "7FFF97B56000", "buildId" : "8FC3D139805534989AC56467CB7F4D14" }, { "path" : "/usr/lib/system/libcache.dylib", "machType" : 6, "b" : "7FFF9597D000", "buildId" : "9548AAE92AB735259ECEA2A7C4688447" }, { "path" : "/usr/lib/system/libcommonCrypto.dylib", "machType" : 6, "b" : "7FFF9B50B000", "buildId" : "9373226134B43914B7A290A81A182DBA" }, { "path" : "/usr/lib/system/libcompiler_rt.dylib", "machType" : 6, "b" : "7FFF93B92000", "buildId" : "A13ECF69F59F38AE86097B731450FBCD" }, { "path" : "/usr/lib/system/libcopyfile.dylib", "machType" : 6, "b" : "7FFF97BBA000", "buildId" : "A48637BCF3F234F2BB684C65FD012832" }, { "path" : "/usr/lib/system/libcorecrypto.dylib", "machType" : 6, "b" : "7FFF9994F000", "buildId" : "B5C05FD7A540345A87BF8E41848A3C17" }, { "path" : "/usr/lib/system/libdispatch.dylib", "machType" : 6, "b" : "7FFF882E6000", "buildId" : "C749985761A53D7DA5EA65DCC8C3DF92" }, { "path" : "/usr/lib/system/libdyld.dylib", "machType" : 6, "b" : "7FFF97B50000", "buildId" : "CC088C2AD40733E7A6B6B06E0D4AD999" }, { "path" : "/usr/lib/system/libkeymgr.dylib", "machType" : 6, "b" : "7FFF9723A000", "buildId" : "8371CE545FDD3CE9B3DFE98C761B6FE0" }, { "path" : "/usr/lib/system/liblaunch.dylib", "machType" : 6, "b" : "7FFF932F2000", "buildId" : "834ED60551143641AA4DECF31B801C50" }, { "path" : "/usr/lib/system/libmacho.dylib", "machType" : 6, "b" : "7FFF92984000", "buildId" : "318264FA58F139D882851F6254EE410E" }, { "path" : "/usr/lib/system/libquarantine.dylib", "machType" : 6, "b" : "7FFF99AB7000", "buildId" : "0F4169F00C843A25B3AEE47B3586D908" }, { "path" : "/usr/lib/system/libremovefile.dylib", "machType" : 6, "b" : "7FFF93BAD000", "buildId" : "552EF39E14D7363E90594565AC2F894E" }, { "path" : "/usr/lib/system/libsystem_asl.dylib", "machType" : 6, "b" : "7FFF9C83A000", "buildId" : "41F8E11F1BD03F1DBA3AAA1577ED98A9" }, { "path" : "/usr/lib/system/libsystem_blocks.dylib", "machType" : 6, "b" : "7FFF89217000", "buildId" : "1244D9D5F6AA35BBB30786851C24B8E5" }, { "path" : "/usr/lib/system/libsystem_c.dylib", "machType" : 6, "b" : "7FFF9298A000", "buildId" : "B552D565B7983B9BAE63F623B42A5F01" }, { "path" : "/usr/lib/system/libsystem_configuration.dylib", "machType" : 6, "b" : "7FFF96B15000", "buildId" : "3DEB7DF9680437E1BC830166882FF0FF" }, { "path" : "/usr/lib/system/libsystem_coreservices.dylib", "machType" : 6, "b" : "7FFF91E2D000", "buildId" : "1B3F5AFCFFCD3ECB8B9A5538366FB20D" }, { "path" : "/usr/lib/system/libsystem_coretls.dylib", "machType" : 6, "b" : "7FFF89B44000", "buildId" : "C90DAE384082381CA1852A6A8B677628" }, { "path" : "/usr/lib/system/libsystem_dnssd.dylib", "machType" : 6, "b" : "7FFF962E7000", "buildId" : "4D10E12B59B5386F82DA326F18028F0A" }, { "path" : "/usr/lib/system/libsystem_info.dylib", "machType" : 6, "b" : "7FFF8F102000", "buildId" : "FAA9226D64DE3769A6D86CABA4B7FF4D" }, { "path" : "/usr/lib/system/libsystem_kernel.dylib", "machType" : 6, "b" : "7FFF9963A000", "buildId" : "78E54D59D2B03F549A4A0A68D671F253" }, { "path" : "/usr/lib/system/libsystem_m.dylib", "machType" : 6, "b" : "7FFF95895000", "buildId" : "08E1A4B264483DFEA58CACC7335BE7E4" }, { "path" : "/usr/lib/system/libsystem_malloc.dylib", "machType" : 6, "b" : "7FFF9175D000", "buildId" : "5748E8B2F81C34C68B13456213127678" }, { "path" : "/usr/lib/system/libsystem_network.dylib", "machType" : 6, "b" : "7FFF952CF000", "buildId" : "B52DAB7392DC3DA7B9F4B899D66445C1" }, { "path" : "/usr/lib/system/libsystem_networkextension.dylib", "machType" : 6, "b" : "7FFF9C20E000", "buildId" : "66095DC7653938F295EE458F15F6D014" }, { "path" : "/usr/lib/system/libsystem_notify.dylib", "machType" : 6, "b" : "7FFF9C204000", "buildId" : "D48BDE340F7E34CAA0FFC578E39987CC" }, { "path" : "/usr/lib/system/libsystem_platform.dylib", "machType" : 6, "b" : "7FFF97C31000", "buildId" : "29A905EF67773C3382B06C3A88C4BA15" }, { "path" : "/usr/lib/system/libsystem_pthread.dylib", "machType" : 6, "b" : "7FFF974B4000", "buildId" : "3DD1EF4C1D1B3ABF8CC6B3B1CEEE9559" }, { "path" : "/usr/lib/system/libsystem_sandbox.dylib", "machType" : 6, "b" : "7FFF8BB27000", "buildId" : "150A9D3DF69E32F78C7B8E72CAAFF7E4" }, { "path" : "/usr/lib/system/libsystem_secinit.dylib", "machType" : 6, "b" : "7FFF9C7D4000", "buildId" : "32B1A8C6DC843F4FB8CE9A52B47C3E6B" }, { "path" : "/usr/lib/system/libsystem_trace.dylib", "machType" : 6, "b" : "7FFF9C795000", "buildId" : "F00E92E4DBDA3749B5B30C3FBBABA1CB" }, { "path" : "/usr/lib/system/libunc.dylib", "machType" : 6, "b" : "7FFF8F0FB000", "buildId" : "DDB1E947C77533B8B46163E5EB698F0E" }, { "path" : "/usr/lib/system/libunwind.dylib", "machType" : 6, "b" : "7FFF9B632000", "buildId" : "F6EB48E54D12359AAB54C937FBBE9043" }, { "path" : "/usr/lib/system/libxpc.dylib", "machType" : 6, "b" : "7FFF98CE7000", "buildId" : "54D1328E054E3DAA89E2375722F9D18F" }, { "path" : "/usr/lib/libobjc.A.dylib", "machType" : 6, "b" : "7FFF92E90000", "buildId" : "7489D2D61EFD3414B18D2AECCCC90286" }, { "path" : "/usr/lib/libauto.dylib", "machType" : 6, "b" : "7FFF9D210000", "buildId" : "999E610F41FC32A3ADCA5EC049B65DFB" }, { "path" : "/usr/lib/libc++abi.dylib", "machType" : 6, "b" : "7FFF8BA32000", "buildId" : "DCCC81773D0935BC97842A04FEC4C71B" }, { "path" : "/usr/lib/libDiagnosticMessagesClient.dylib", "machType" : 6, "b" : "7FFF933FB000", "buildId" : "4243B6B421E9355B9C5A95A216233B96" } ] }}
[js_test:minor_version_downgrade_replset] 2016-07-18T15:11:23.583-0400 d20011|  mongod-3.2.1(_ZN5mongo15printStackTraceERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEE+0x39) [0x104da93b9]
[js_test:minor_version_downgrade_replset] 2016-07-18T15:11:23.584-0400 d20011|  mongod-3.2.1(_ZN5mongo10logContextEPKc+0x15C) [0x104d5f80c]
[js_test:minor_version_downgrade_replset] 2016-07-18T15:11:23.584-0400 d20011|  mongod-3.2.1(_ZN5mongo11msgassertedEiPKc+0x195) [0x104d4f825]
[js_test:minor_version_downgrade_replset] 2016-07-18T15:11:23.584-0400 d20011|  mongod-3.2.1(_ZN5mongo11msgassertedEiRKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE+0x1A) [0x104d4f68a]
[js_test:minor_version_downgrade_replset] 2016-07-18T15:11:23.584-0400 d20011|  mongod-3.2.1(_ZNK5mongo11BSONElement3chkEi+0x23D) [0x1044f9e5d]
[js_test:minor_version_downgrade_replset] 2016-07-18T15:11:23.584-0400 d20011|  mongod-3.2.1(_ZN5mongo9KVCatalog4initEPNS_16OperationContextE+0xF7) [0x104adc987]
[js_test:minor_version_downgrade_replset] 2016-07-18T15:11:23.584-0400 d20011|  mongod-3.2.1(_ZN5mongo15KVStorageEngineC2EPNS_8KVEngineERKNS_22KVStorageEngineOptionsE+0x462) [0x104ae6302]
[js_test:minor_version_downgrade_replset] 2016-07-18T15:11:23.584-0400 d20011|  mongod-3.2.1(_ZNK5mongo12_GLOBAL__N_117WiredTigerFactory6createERKNS_19StorageGlobalParamsERKNS_21StorageEngineLockFileE+0x23E) [0x104b6e17e]
[js_test:minor_version_downgrade_replset] 2016-07-18T15:11:23.584-0400 d20011|  mongod-3.2.1(_ZN5mongo20ServiceContextMongoD29initializeGlobalStorageEngineEv+0x626) [0x104abefb6]
[js_test:minor_version_downgrade_replset] 2016-07-18T15:11:23.585-0400 d20011|  mongod-3.2.1(_ZN5mongoL14_initAndListenEi+0x537) [0x1044d1837]
[js_test:minor_version_downgrade_replset] 2016-07-18T15:11:23.585-0400 d20011|  mongod-3.2.1(_ZN5mongo13initAndListenEi+0x13) [0x1044d0c23]
[js_test:minor_version_downgrade_replset] 2016-07-18T15:11:23.585-0400 d20011|  mongod-3.2.1(main+0x3BC) [0x1044d4e1c]
[js_test:minor_version_downgrade_replset] 2016-07-18T15:11:23.585-0400 d20011|  mongod-3.2.1(start+0x34) [0x1044d0c04]
[js_test:minor_version_downgrade_replset] 2016-07-18T15:11:23.585-0400 d20011| -----  END BACKTRACE  -----



 Comments   
Comment by Jonathan Abrahams [ 25/Aug/16 ]

The test minor_version_downgrade_replset.js is now only running with mmapv1, as part of the work for SERVER-24248.

Comment by Kamran K. [ 25/Aug/16 ]

jonathan.abrahams, can you decide on next steps?

Comment by Eric Milkie [ 24/Aug/16 ]

I would say, just blacklist it for wiredTiger.

Comment by Jonathan Abrahams [ 19/Jul/16 ]

The multiversion tests are being updated to support different storage engines (SERVER-24248). This ticket is the result of those changes. We can either pull this test, modify it, or blacklist it for wiredTiger.

Comment by Max Hirschhorn [ 19/Jul/16 ]

My impression is that the purpose of this ticket is to (1) determine whether this multiversion test is still worth having on the master branch and (2) if so, make the necessary changes so that this test performs the upgrade/downgrade path as expected.

Comment by Max Hirschhorn [ 18/Jul/16 ]

Due to the changes from SERVER-15086, it isn't possible to directly downgrade from MongoDB version 3.4 to 3.2.1. It is necessary to go through a version of MongoDB at least as new as 3.2.7.

Generated at Thu Feb 08 04:08:21 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.