[SERVER-71635] MongoDB4.2.23 can not downgrade to 4.0.28. Created: 28/Nov/22 Updated: 27/Oct/23 Resolved: 02/Dec/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | nycle chen | Assignee: | Yuan Fang |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
When I upgrade mongodb3.6.20 replication set, I follow the official instructions completely. When I downgrade the replication set, 4.4.17 downgrade to 4.2.23 is ok, but 4.2.23 downgrade to 4.0.28, then reports errors: "2022-11-22T16:03:49.271+0800 E STORAGE [initandlisten] WiredTiger error (-31802) [1669104229:271646][28181:0x2b6d74d7aa80], 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: [1669104229:271646][28181:0x2b6d74d7aa80], connection: __log_open_verify, 985: unsupported WiredTiger file version: this build only supports versio" And I found that: 3.6.20 up to 4.0.28 is ok, 4.0.28 up to 4.2.23 is ok, and then 4.2.23 down to 4.0.28 is ok. That is, if not up to 4.4.17,then 4.2.23 can down to 4.0.28. Thanks. |
| Comments |
| Comment by Yuan Fang [ 02/Dec/22 ] |
|
Thank you for reporting the issue that occurred during downgrading. Please note that downgrading multiple major versions (e.g. 4.4 to 4.2 to 4.0) is not supported, thus any techniques that try to fulfill this use-case have no guarantee of working. Additionally, MongoDB version 4.0 reached the end of life in April 2022 and is no longer supported and our general guidance is to avoid downgrading to an unsupported version. Regards, |