Solr
  1. Solr
  2. SOLR-1572

FastLRUCache doesn't correctly implement LRU after 2B accesses

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 1.4.1, 1.5, 3.1, 4.0-ALPHA
    • Component/s: None
    • Labels:
      None

      Description

      FastLRUCache doesn't correctly implement LRU after 2B accesses due to Integer.MAX_VALUE being used internally instead of Long.MAX_VALUE

        Activity

        Hide
        Yonik Seeley added a comment -

        committed, along with a minor optimization to remove an additional read of size (an AtomicInteger) during put()

        Show
        Yonik Seeley added a comment - committed, along with a minor optimization to remove an additional read of size (an AtomicInteger) during put()
        Hide
        Hoss Man added a comment -

        Correcting Fix Version based on CHANGES.txt, see this thread for more details...

        http://mail-archives.apache.org/mod_mbox/lucene-dev/201005.mbox/%3Calpine.DEB.1.10.1005251052040.24672@radix.cryptio.net%3E

        Show
        Hoss Man added a comment - Correcting Fix Version based on CHANGES.txt, see this thread for more details... http://mail-archives.apache.org/mod_mbox/lucene-dev/201005.mbox/%3Calpine.DEB.1.10.1005251052040.24672@radix.cryptio.net%3E
        Hide
        Hoss Man added a comment -

        Committed revision 949469.

        merged to branch-1.4 for 1.4.1

        Show
        Hoss Man added a comment - Committed revision 949469. merged to branch-1.4 for 1.4.1

          People

          • Assignee:
            Yonik Seeley
            Reporter:
            Yonik Seeley
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development