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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • 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:
              Daniel Pasette (Inactive)
              Reporter:
              Mathias Stearn
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: