[SERVER-13508] Don't ignore --nopreallocj if there are already prealloced files Created: 07/Apr/14  Updated: 22/May/15  Resolved: 22/May/15

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

Type: Task Priority: Major - P3
Reporter: Mathias Stearn Assignee: Daniel Pasette (Inactive)
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-14588 prealloc of datafiles not on by defau... Closed
Participants:

 Description   

This is what the code does today:

            if( exists(preallocPath(0)) || // if enabled previously, keep using
                exists(preallocPath(1)) ||
                (storageGlobalParams.preallocj && preallocateIsFaster()) ) {
                    usingPreallocate = true;
                    <snip>code to preallocate files</snip>
            }

We may want to check the preallocj flag and never use prealloced journal files if it is false.



 Comments   
Comment by Geert Bosch [ 22/May/15 ]

This is an undocumented MMAPv1 specific storage.

Generated at Thu Feb 08 03:31:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.