Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-16357

CaffeineCache ramBytes incorrect accounting on updates and deletes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 9.1
    • None
    • None

    Description

      CaffeineCache ramBytes accounting is incorrect on deletes and updates over exiting values.
      2 problematic scenarios:

      • updates over existing value will double-add the key
      • deletes will double-delete: once due to manual bookkeeping in the remove method and second due to the onRemoval callback

      Attachments

        Issue Links

          Activity

            People

              mdrob Mike Drob
              stillalex Alex Deparvu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h