[SERVER-30295] Connect FCV to WiredTiger compatibility version Created: 25/Jul/17  Updated: 30/Oct/23  Resolved: 09/Aug/17

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 3.5.12

Type: Bug Priority: Major - P3
Reporter: Alexander Gorrod Assignee: Daniel Gottlieb (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on WT-3490 WT_CURSOR.modify unaligned size_t acc... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Storage 2017-08-21
Participants:
Linked BF Score: 0

 Description   

A recent version of WiredTiger had changes to the log (journal) file format. Those changes are gated on a compatibility version being used by applications.

In order for MongoDB to start using the new log file formats, we need to connect the featureCompatibilityVersion mechanisms in to the WiredTiger compatibility configuration option.

There was a change included with the merge of WiredTiger that means MongoDB will currently only ever create V1 format journal files:
https://github.com/mongodb/mongo/blob/master/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp#L270



 Comments   
Comment by Githook User [ 09/Aug/17 ]

Author:

{'username': 'dgottlieb', 'email': 'daniel.gottlieb@mongodb.com', 'name': 'Daniel Gottlieb'}

Message: SERVER-30295: Connect FCV to WiredTiger compatibility version.
Branch: master
https://github.com/mongodb/mongo/commit/b0f8d105349d9d6df874ed7f566a552dbd98a1ab

Comment by Alexander Gorrod [ 08/Aug/17 ]

daniel.gottlieb The version of WiredTiger in master has been updated to include the fix for WT-3490

Comment by Daniel Gottlieb (Inactive) [ 08/Aug/17 ]

michael.cahill Unfortunately upgrading WT to run in release=3.0 turns on the unaligned access Keith is fixing: WT-3490

That breaks our

{A,UB}

SAN tests, thus the revert. However, the patch is in the repo's history so hopefully that can hold you over until Keith's fix gets into MongoDB master.

Comment by Githook User [ 08/Aug/17 ]

Author:

{'username': 'dgottlieb', 'email': 'danny.gottlieb@gmail.com', 'name': 'Daniel Gottlieb'}

Message: Revert "SERVER-30295: Connect FCV to WiredTiger compatibility version."

This reverts commit c5a6b74a50e3fa39b1e24b0d4c2463d530bc9885.
Branch: master
https://github.com/mongodb/mongo/commit/6de1435b6f37aae5c79bbb4440ee84f6d36fe1e1

Comment by Githook User [ 08/Aug/17 ]

Author:

{'username': 'dgottlieb', 'email': 'daniel.gottlieb@mongodb.com', 'name': 'Daniel Gottlieb'}

Message: SERVER-30295: Connect FCV to WiredTiger compatibility version.
Branch: master
https://github.com/mongodb/mongo/commit/c5a6b74a50e3fa39b1e24b0d4c2463d530bc9885

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