Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Indexed Disk Cache
    • Labels:
      None
    • Environment:
      any

      Description

      If there have been no removes from the disk cache, don't run the optimization. It's unnecessary, since there should be no changes in the disk.

        Activity

        Hide
        asmuts Aaron Smuts added a comment -

        The fix is in 1.2.7.9

        Show
        asmuts Aaron Smuts added a comment - The fix is in 1.2.7.9
        Hide
        asmuts Aaron Smuts added a comment -

        Cache checks to see if the data free is greater than 0 before optimizing on shutdown.

        else if ( isShutdownOptimizationEnabled && this.getBytesFree() > 0 )

        { optimizeFile(); }
        Show
        asmuts Aaron Smuts added a comment - Cache checks to see if the data free is greater than 0 before optimizing on shutdown. else if ( isShutdownOptimizationEnabled && this.getBytesFree() > 0 ) { optimizeFile(); }
        Hide
        peter.schwarz Peter Schwarz added a comment -

        This is also true if there have been no puts.

        If the cache is effectively in read-only mode from start of the application until the end, there is still an optimization run at shutdown.

        Show
        peter.schwarz Peter Schwarz added a comment - This is also true if there have been no puts. If the cache is effectively in read-only mode from start of the application until the end, there is still an optimization run at shutdown.

          People

          • Assignee:
            seade Scott Eade
            Reporter:
            peter.schwarz Peter Schwarz
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development