lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noble Paul (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-985) TemplateString is not thread-safe
Date Mon, 26 Jan 2009 15:37:59 GMT

    [ https://issues.apache.org/jira/browse/SOLR-985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12667267#action_12667267
] 

Noble Paul commented on SOLR-985:
---------------------------------

making that instance non-static should be fine. right?

> TemplateString is not thread-safe
> ---------------------------------
>
>                 Key: SOLR-985
>                 URL: https://issues.apache.org/jira/browse/SOLR-985
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - DataImportHandler
>    Affects Versions: 1.3
>            Reporter: Ryuuichi Kumai
>         Attachments: SOLR-985.patch
>
>
> 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().

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message