Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.1-incubating
    • Component/s: None
    • Labels:
      None

      Description

      Element eviction (LFU) is happening during normal cleanup task. It would be good to evict elements only during resource constraint like limited space.

        Activity

        Hide
        Raffaele P. Guidi added a comment -

        removed "Element Expiry is not working as desired, as the expiry value is not passed to the underlying store to check the expiry of the element" which is a bug (a task on its own)

        Show
        Raffaele P. Guidi added a comment - removed "Element Expiry is not working as desired, as the expiry value is not passed to the underlying store to check the expiry of the element" which is a bug (a task on its own)
        Hide
        Raffaele P. Guidi added a comment -

        created a basic isShortage function. It is configured setting OffHeapMemoryBuffer.maxAllocationErrors to de desired value - default is zero, meaning that after an allocation error the eviction starts - if some room is made or the buffer is cleared allacationErrors gets reset

        Show
        Raffaele P. Guidi added a comment - created a basic isShortage function. It is configured setting OffHeapMemoryBuffer.maxAllocationErrors to de desired value - default is zero, meaning that after an allocation error the eviction starts - if some room is made or the buffer is cleared allacationErrors gets reset

          People

          • Assignee:
            Raffaele P. Guidi
            Reporter:
            Ashish Paliwal
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development