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

Non thread safe use of WeakHashMap can hang in get method.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      You can see this with some googling and I just saw it happen in TestSolrConfigHandler. A thread was stuck in HttpCacheHeaderUtil in the get for the WeakHashMap.

      Apache commons-beanutils has a WeakFastHashMap that is supposed to be thread safe and read efficient I think.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                markrmiller@gmail.com Mark Miller
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: