-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Upgrade/Downgrade
-
None
-
Environment:RHEL 8
-
ALL
-
-
(copied to CRM)
When attempting to down a standalone mongod from 4.4 -> 4.2 -> 4.0, the 4.0 mongod fails to start.
Our specific use case is upgrade from 3.6 -> 4.4 and then downgrade from 4.4 -> 3.6, but this error also happens without upgrading an existing database and simple starting from 4.4.
Downgrade from 4.2 -> 4.0 works when starting at 4.2. Downgrade also works when performing a mongodump/mongorestore between 4.2 -> 4.0 when starting from 4.4.
2021-03-18T18:51:20.076+0000 I STORAGE [initandlisten] Detected data files in /mongo/db/ created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'. 2021-03-18T18:51:20.090+0000 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=3467M,cache_overflow=(file_max=0M),session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),statistics_log=(wait=0),verbose=(recovery_progress), 2021-03-18T18:51:21.332+0000 E STORAGE [initandlisten] WiredTiger error (-31802) [1616093481:332154][1553676:0x7f4f2d5fab40], connection: __log_open_verify, 985: unsupported WiredTiger file version: this build only supports versions up to 3, and the file is version 4: WT_ERROR: non-specific WiredTiger error Raw: [1616093481:332154][1553676:0x7f4f2d5fab40], connection: __log_open_verify, 985: unsupported WiredTiger file version: this build only supports versions up to 3, and the file is version 4: WT_ERROR: non-specific WiredTiger error 2021-03-18T18:51:21.373+0000 E STORAGE [initandlisten] WiredTiger error (-31802) [1616093481:373170][1553676:0x7f4f2d5fab40], connection: __log_open_verify, 985: unsupported WiredTiger file version: this build only supports versions up to 3, and the file is version 4: WT_ERROR: non-specific WiredTiger error Raw: [1616093481:373170][1553676:0x7f4f2d5fab40], connection: __log_open_verify, 985: unsupported WiredTiger file version: this build only supports versions up to 3, and the file is version 4: WT_ERROR: non-specific WiredTiger error 2021-03-18T18:51:21.419+0000 E STORAGE [initandlisten] WiredTiger error (-31802) [1616093481:419674][1553676:0x7f4f2d5fab40], connection: __log_open_verify, 985: unsupported WiredTiger file version: this build only supports versions up to 3, and the file is version 4: WT_ERROR: non-specific WiredTiger error Raw: [1616093481:419674][1553676:0x7f4f2d5fab40], connection: __log_open_verify, 985: unsupported WiredTiger file version: this build only supports versions up to 3, and the file is version 4: WT_ERROR: non-specific WiredTiger error 2021-03-18T18:51:21.426+0000 W STORAGE [initandlisten] Failed to start up WiredTiger under any compatibility version. 2021-03-18T18:51:21.427+0000 F STORAGE [initandlisten] Reason: -31802: WT_ERROR: non-specific WiredTiger error 2021-03-18T18:51:21.427+0000 F - [initandlisten] Fatal Assertion 28595 at src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp 711 2021-03-18T18:51:21.429+0000 F - [initandlisten] \n\n***aborting after fassert() failure\n\n