[SERVER-46825] Replace StorageEngine::flushAllFiles call in waitForWriteConcern function with a functionally equivalent waitUntilDurable call Created: 12/Mar/20 Updated: 06/Dec/22 |
|
| Status: | Open |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Dianna Hohensee (Inactive) | Assignee: | Backlog - Storage Execution Team |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Storage Execution
|
| Participants: |
| Description |
|
We can safely change the StorageEngine::flushAllFiles() call in write_concern.cpp when nojournal=true to a regular RecoveryUnit::waitUntilDurable() call. Here’s the StorageEngine::flushAllFiles() call I want to switch to RecoveryUnit::waitUntilDurable() Here’s what StorageEngine::flushAllFiles() sets when calling WTSessionCache::waitUntilDurable() Here’s what WTSessionCache::waitUntilDurable() does |