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

TemplateString is not thread-safe

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3
    • None
    • None

    Description

      TemplateString is not thread-safe but it is being used concurrently by many cores due to the static instance.

      Currently TemplateString#cache is not synchronized, and static instance of TemplateString is used by VariableResolverImpl#replaceTokens().

      Attachments

        1. SOLR-985.patch
          1 kB
          Liu Kumai

        Activity

          People

            shalin Shalin Shekhar Mangar
            kuma Liu Kumai
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: