Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-13508

Don't ignore --nopreallocj if there are already prealloced files

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Storage
    • None

      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.

            Assignee:
            dan@mongodb.com Daniel Pasette (Inactive)
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: