[SERVER-46067] Internal code interface changes for Replicate Before Journaling Created: 10/Feb/20  Updated: 29/Oct/23  Resolved: 12/Feb/20

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

Type: Task Priority: Major - P3
Reporter: Dianna Hohensee (Inactive) Assignee: Dianna Hohensee (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-44555 Implement replicate before journaling Closed
Documented
is documented by DOCS-13530 Docs for SERVER-46067: Internal code ... Closed
Related
related to SERVER-80432 waitForSession can miss JournalListen... Closed
is related to DOCS-13401 MongoDB's fsync command's 'async' fie... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2020-02-24
Participants:

 Description   

Splitting work off of SERVER-44555.



 Comments   
Comment by Githook User [ 12/Feb/20 ]

Author:

{'name': 'Dianna Hohensee', 'username': 'DiannaHohensee', 'email': 'dianna.hohensee@mongodb.com'}

Message: SERVER-46067 Replicate Before Journaling interface changes

flushAllFiles takes callerHoldsReadLock in order to skip taking a write lock to update the truncate point.
waitUntilDurable takes skipJournalListenerUpdate to know to skip updating the truncate point.
getToken takes a defer_lock and opCtx so collection locks can be locked prior to locking the mutex.
Remove inactive 'async' field from fsync command.
Put explicit dummy value for inactive (since MMAP) 'numFiles' result field in fsync command.
Put explicit dummy value for inactive (since MMAP) 'fsyncFiles' result field in write concern.
Branch: master
https://github.com/mongodb/mongo/commit/9bd41ba3d1a6472d94cfc6076f44236f48f8d7a8

Generated at Thu Feb 08 05:10:25 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.