[SERVER-25129] mongod with wiredTiger aborts when downgrading to 3.0 with a v3 2dsphere index Created: 18/Jul/16  Updated: 05/Apr/17  Resolved: 08/Dec/16

Status: Closed
Project: Core Server
Component/s: Geo, WiredTiger
Affects Version/s: 3.0.12
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Jonathan Abrahams Assignee: Robert Guo (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File geo_2dsphere_v2_to_v3-wt.js    
Issue Links:
Related
is related to SERVER-27107 Update 'last-stable' MongoRunner alia... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: TIG 2016-12-12
Participants:

 Description   

The test jstests/multiVersion/geo_2dsphere_v2_to_v3.js fails when running using wiredTiger with the following:

[js_test:geo_2dsphere_v2_to_v3] 2016-07-18T14:39:18.110-0400 d20010|  0x10c60ee4a 0x10c5bbb7e 0x10c5a92a2 0x10c5a914a 0x10bea19eb 0x10bea2031 0x10c39b9e8 0x10c3a6158 0x10c4269e1 0x10c12560f 0x10be7d3e7 0x10be7c793 0x10be801fc 0x10be7c774
[js_test:geo_2dsphere_v2_to_v3] 2016-07-18T14:39:18.110-0400 d20010| ----- BEGIN BACKTRACE -----
[js_test:geo_2dsphere_v2_to_v3] 2016-07-18T14:39:18.114-0400 d20010| {"backtrace":[{"b":"10BE7B000","o":"793E4A","s":"_ZN5mongo15printStackTraceERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEE"},{"b":"10BE7B000","o":"740B7E","s":"_ZN5mongo10logContextEPKc"},{"b":"10BE7B000","o":"72E2A2","s":"_ZN5mongo11msgassertedEiPKc"},{"b":"10BE7B000","o":"72E14A","s":"_ZN5mongo11msgassertedEiRKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE"},{"b":"10BE7B000","o":"269EB","s":"_ZNK5mongo11BSONElement3chkEi"},{"b":"10BE7B000","o":"27031","s":"_ZNK5mongo11BSONElement6StringEv"},{"b":"10BE7B000","o":"5209E8","s":"_ZN5mongo9KVCatalog4initEPNS_16OperationContextE"},{"b":"10BE7B000","o":"52B158","s":"_ZN5mongo15KVStorageEngineC2EPNS_8KVEngineERKNS_22KVStorageEngineOptionsE"},{"b":"10BE7B000","o":"5AB9E1","s":"_ZNK5mongo12_GLOBAL__N_117WiredTigerFactory6createERKNS_19StorageGlobalParamsERKNS_21StorageEngineLockFileE"},{"b":"10BE7B000","o":"2AA60F","s":"_ZN5mongo23GlobalEnvironmentMongoD22setGlobalStorageEngineERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE"},{"b":"10BE7B000","o":"23E7","s":"_ZN5mongoL14_initAndListenEi"},{"b":"10BE7B000","o":"1793","s":"_ZN5mongo13initAndListenEi"},{"b":"10BE7B000","o":"51FC","s":"main"},{"b":"10BE7B000","o":"1774","s":"start"}],"processInfo":{ "mongodbVersion" : "3.0.12", "gitVersion" : "33934938e0e95d534cebbaff656cde916b9c3573", "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.0", "machType" : 2, "b" : "10BE7B000", "vmaddr" : "100000000", "buildId" : "FA7FC46903D334E98BF36E5BB783074C" }, { "path" : "/usr/lib/libSystem.B.dylib", "machType" : 6, "b" : "7FFF9A63A000", "vmaddr" : "7FFF92612000", "buildId" : "C5D09FE1CC70383EAC2718602F2EDEC4" }, { "path" : "/usr/lib/libc++.1.dylib", "machType" : 6, "b" : "7FFF97B56000", "vmaddr" : "7FFF8FB2E000", "buildId" : "8FC3D139805534989AC56467CB7F4D14" }, { "path" : "/usr/lib/system/libcache.dylib", "machType" : 6, "b" : "7FFF9597D000", "vmaddr" : "7FFF8D955000", "buildId" : "9548AAE92AB735259ECEA2A7C4688447" }, { "path" : "/usr/lib/system/libcommonCrypto.dylib", "machType" : 6, "b" : "7FFF9B50B000", "vmaddr" : "7FFF934E3000", "buildId" : "9373226134B43914B7A290A81A182DBA" }, { "path" : "/usr/lib/system/libcompiler_rt.dylib", "machType" : 6, "b" : "7FFF93B92000", "vmaddr" : "7FFF8BB6A000", "buildId" : "A13ECF69F59F38AE86097B731450FBCD" }, { "path" : "/usr/lib/system/libcopyfile.dylib", "machType" : 6, "b" : "7FFF97BBA000", "vmaddr" : "7FFF8FB92000", "buildId" : "A48637BCF3F234F2BB684C65FD012832" }, { "path" : "/usr/lib/system/libcorecrypto.dylib", "machType" : 6, "b" : "7FFF9994F000", "vmaddr" : "7FFF91927000", "buildId" : "B5C05FD7A540345A87BF8E41848A3C17" }, { "path" : "/usr/lib/system/libdispatch.dylib", "machType" : 6, "b" : "7FFF882E6000", "vmaddr" : "7FFF802BE000", "buildId" : "C749985761A53D7DA5EA65DCC8C3DF92" }, { "path" : "/usr/lib/system/libdyld.dylib", "machType" : 6, "b" : "7FFF97B50000", "vmaddr" : "7FFF8FB28000", "buildId" : "CC088C2AD40733E7A6B6B06E0D4AD999" }, { "path" : "/usr/lib/system/libkeymgr.dylib", "machType" : 6, "b" : "7FFF9723A000", "vmaddr" : "7FFF8F212000", "buildId" : "8371CE545FDD3CE9B3DFE98C761B6FE0" }, { "path" : "/usr/lib/system/liblaunch.dylib", "machType" : 6, "b" : "7FFF932F2000", "vmaddr" : "7FFF8B2CA000", "buildId" : "834ED60551143641AA4DECF31B801C50" }, { "path" : "/usr/lib/system/libmacho.dylib", "machType" : 6, "b" : "7FFF92984000", "vmaddr" : "7FFF8A95C000", "buildId" : "318264FA58F139D882851F6254EE410E" }, { "path" : "/usr/lib/system/libquarantine.dylib", "machType" : 6, "b" : "7FFF99AB7000", "vmaddr" : "7FFF91A8F000", "buildId" : "0F4169F00C843A25B3AEE47B3586D908" }, { "path" : "/usr/lib/system/libremovefile.dylib", "machType" : 6, "b" : "7FFF93BAD000", "vmaddr" : "7FFF8BB85000", "buildId" : "552EF39E14D7363E90594565AC2F894E" }, { "path" : "/usr/lib/system/libsystem_asl.dylib", "machType" : 6, "b" : "7FFF9C83A000", "vmaddr" : "7FFF94812000", "buildId" : "41F8E11F1BD03F1DBA3AAA1577ED98A9" }, { "path" : "/usr/lib/system/libsystem_blocks.dylib", "machType" : 6, "b" : "7FFF89217000", "vmaddr" : "7FFF811EF000", "buildId" : "1244D9D5F6AA35BBB30786851C24B8E5" }, { "path" : "/usr/lib/system/libsystem_c.dylib", "machType" : 6, "b" : "7FFF9298A000", "vmaddr" : "7FFF8A962000", "buildId" : "B552D565B7983B9BAE63F623B42A5F01" }, { "path" : "/usr/lib/system/libsystem_configuration.dylib", "machType" : 6, "b" : "7FFF96B15000", "vmaddr" : "7FFF8EAED000", "buildId" : "3DEB7DF9680437E1BC830166882FF0FF" }, { "path" : "/usr/lib/system/libsystem_coreservices.dylib", "machType" : 6, "b" : "7FFF91E2D000", "vmaddr" : "7FFF89E05000", "buildId" : "1B3F5AFCFFCD3ECB8B9A5538366FB20D" }, { "path" : "/usr/lib/system/libsystem_coretls.dylib", "machType" : 6, "b" : "7FFF89B44000", "vmaddr" : "7FFF81B1C000", "buildId" : "C90DAE384082381CA1852A6A8B677628" }, { "path" : "/usr/lib/system/libsystem_dnssd.dylib", "machType" : 6, "b" : "7FFF962E7000", "vmaddr" : "7FFF8E2BF000", "buildId" : "4D10E12B59B5386F82DA326F18028F0A" }, { "path" : "/usr/lib/system/libsystem_info.dylib", "machType" : 6, "b" : "7FFF8F102000", "vmaddr" : "7FFF870DA000", "buildId" : "FAA9226D64DE3769A6D86CABA4B7FF4D" }, { "path" : "/usr/lib/system/libsystem_kernel.dylib", "machType" : 6, "b" : "7FFF9963A000", "vmaddr" : "7FFF91612000", "buildId" : "78E54D59D2B03F549A4A0A68D671F253" }, { "path" : "/usr/lib/system/libsystem_m.dylib", "machType" : 6, "b" : "7FFF95895000", "vmaddr" : "7FFF8D86D000", "buildId" : "08E1A4B264483DFEA58CACC7335BE7E4" }, { "path" : "/usr/lib/system/libsystem_malloc.dylib", "machType" : 6, "b" : "7FFF9175D000", "vmaddr" : "7FFF89735000", "buildId" : "5748E8B2F81C34C68B13456213127678" }, { "path" : "/usr/lib/system/libsystem_network.dylib", "machType" : 6, "b" : "7FFF952CF000", "vmaddr" : "7FFF8D2A7000", "buildId" : "B52DAB7392DC3DA7B9F4B899D66445C1" }, { "path" : "/usr/lib/system/libsystem_networkextension.dylib", "machType" : 6, "b" : "7FFF9C20E000", "vmaddr" : "7FFF941E6000", "buildId" : "66095DC7653938F295EE458F15F6D014" }, { "path" : "/usr/lib/system/libsystem_notify.dylib", "machType" : 6, "b" : "7FFF9C204000", "vmaddr" : "7FFF941DC000", "buildId" : "D48BDE340F7E34CAA0FFC578E39987CC" }, { "path" : "/usr/lib/system/libsystem_platform.dylib", "machType" : 6, "b" : "7FFF97C31000", "vmaddr" : "7FFF8FC09000", "buildId" : "29A905EF67773C3382B06C3A88C4BA15" }, { "path" : "/usr/lib/system/libsystem_pthread.dylib", "machType" : 6, "b" : "7FFF974B4000", "vmaddr" : "7FFF8F48C000", "buildId" : "3DD1EF4C1D1B3ABF8CC6B3B1CEEE9559" }, { "path" : "/usr/lib/system/libsystem_sandbox.dylib", "machType" : 6, "b" : "7FFF8BB27000", "vmaddr" : "7FFF83AFF000", "buildId" : "150A9D3DF69E32F78C7B8E72CAAFF7E4" }, { "path" : "/usr/lib/system/libsystem_secinit.dylib", "machType" : 6, "b" : "7FFF9C7D4000", "vmaddr" : "7FFF947AC000", "buildId" : "32B1A8C6DC843F4FB8CE9A52B47C3E6B" }, { "path" : "/usr/lib/system/libsystem_trace.dylib", "machType" : 6, "b" : "7FFF9C795000", "vmaddr" : "7FFF9476D000", "buildId" : "F00E92E4DBDA3749B5B30C3FBBABA1CB" }, { "path" : "/usr/lib/system/libunc.dylib", "machType" : 6, "b" : "7FFF8F0FB000", "vmaddr" : "7FFF870D3000", "buildId" : "DDB1E947C77533B8B46163E5EB698F0E" }, { "path" : "/usr/lib/system/libunwind.dylib", "machType" : 6, "b" : "7FFF9B632000", "vmaddr" : "7FFF9360A000", "buildId" : "F6EB48E54D12359AAB54C937FBBE9043" }, { "path" : "/usr/lib/system/libxpc.dylib", "machType" : 6, "b" : "7FFF98CE7000", "vmaddr" : "7FFF90CBF000", "buildId" : "54D1328E054E3DAA89E2375722F9D18F" }, { "path" : "/usr/lib/libobjc.A.dylib", "machType" : 6, "b" : "7FFF92E90000", "vmaddr" : "7FFF8AE68000", "buildId" : "7489D2D61EFD3414B18D2AECCCC90286" }, { "path" : "/usr/lib/libauto.dylib", "machType" : 6, "b" : "7FFF9D210000", "vmaddr" : "7FFF951E8000", "buildId" : "999E610F41FC32A3ADCA5EC049B65DFB" }, { "path" : "/usr/lib/libc++abi.dylib", "machType" : 6, "b" : "7FFF8BA32000", "vmaddr" : "7FFF83A0A000", "buildId" : "DCCC81773D0935BC97842A04FEC4C71B" }, { "path" : "/usr/lib/libDiagnosticMessagesClient.dylib", "machType" : 6, "b" : "7FFF933FB000", "vmaddr" : "7FFF8B3D3000", "buildId" : "4243B6B421E9355B9C5A95A216233B96" } ] }}
[js_test:geo_2dsphere_v2_to_v3] 2016-07-18T14:39:18.114-0400 d20010|  mongod-3.0(_ZN5mongo15printStackTraceERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEE+0x3A) [0x10c60ee4a]
[js_test:geo_2dsphere_v2_to_v3] 2016-07-18T14:39:18.114-0400 d20010|  mongod-3.0(_ZN5mongo10logContextEPKc+0x10E) [0x10c5bbb7e]
[js_test:geo_2dsphere_v2_to_v3] 2016-07-18T14:39:18.114-0400 d20010|  mongod-3.0(_ZN5mongo11msgassertedEiPKc+0x152) [0x10c5a92a2]
[js_test:geo_2dsphere_v2_to_v3] 2016-07-18T14:39:18.114-0400 d20010|  mongod-3.0(_ZN5mongo11msgassertedEiRKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE+0x1A) [0x10c5a914a]
[js_test:geo_2dsphere_v2_to_v3] 2016-07-18T14:39:18.114-0400 d20010|  mongod-3.0(_ZNK5mongo11BSONElement3chkEi+0x13B) [0x10bea19eb]
[js_test:geo_2dsphere_v2_to_v3] 2016-07-18T14:39:18.114-0400 d20010|  mongod-3.0(_ZNK5mongo11BSONElement6StringEv+0x21) [0x10bea2031]
[js_test:geo_2dsphere_v2_to_v3] 2016-07-18T14:39:18.114-0400 d20010|  mongod-3.0(_ZN5mongo9KVCatalog4initEPNS_16OperationContextE+0x148) [0x10c39b9e8]
[js_test:geo_2dsphere_v2_to_v3] 2016-07-18T14:39:18.115-0400 d20010|  mongod-3.0(_ZN5mongo15KVStorageEngineC2EPNS_8KVEngineERKNS_22KVStorageEngineOptionsE+0x6C8) [0x10c3a6158]
[js_test:geo_2dsphere_v2_to_v3] 2016-07-18T14:39:18.115-0400 d20010|  mongod-3.0(_ZNK5mongo12_GLOBAL__N_117WiredTigerFactory6createERKNS_19StorageGlobalParamsERKNS_21StorageEngineLockFileE+0x121) [0x10c4269e1]
[js_test:geo_2dsphere_v2_to_v3] 2016-07-18T14:39:18.115-0400 d20010|  mongod-3.0(_ZN5mongo23GlobalEnvironmentMongoD22setGlobalStorageEngineERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE+0x2AF) [0x10c12560f]
[js_test:geo_2dsphere_v2_to_v3] 2016-07-18T14:39:18.115-0400 d20010|  mongod-3.0(_ZN5mongoL14_initAndListenEi+0x767) [0x10be7d3e7]
[js_test:geo_2dsphere_v2_to_v3] 2016-07-18T14:39:18.115-0400 d20010|  mongod-3.0(_ZN5mongo13initAndListenEi+0x13) [0x10be7c793]
[js_test:geo_2dsphere_v2_to_v3] 2016-07-18T14:39:18.115-0400 d20010|  mongod-3.0(main+0x40C) [0x10be801fc]
[js_test:geo_2dsphere_v2_to_v3] 2016-07-18T14:39:18.115-0400 d20010|  mongod-3.0(start+0x34) [0x10be7c774]
[js_test:geo_2dsphere_v2_to_v3] 2016-07-18T14:39:18.115-0400 d20010| -----  END BACKTRACE  -----



 Comments   
Comment by Robert Guo (Inactive) [ 08/Dec/16 ]

Closing this ticket as "Works as Designed". The test will be removed on master as part of SERVER-27107 for reasons Max outlined above.

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, 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 ]

The geo_2dsphere_v2_to_v3.js test creates a multikey 2dsphere index by indexing a polygon. When running with the WiredTiger storage engine in MongoDB version 3.4, we now track which indexed fields that cause the index to be multikey (SERVER-15086). Failing to start up when such an index has been created is the expected and desired behavior; the reported assertion is mentioned in SERVER-24095.

Upgrading and downgrading directly between 3.0 and 3.4 isn't guaranteed to work. This test would behave as intended if we had it downgrade through MongoDB version 3.2 because the path-level multikey information would get stripped out.

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