[
https://issues.apache.org/jira/browse/SOLR-1017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ryuuichi Kumai updated SOLR-1017:
---------------------------------
Attachment: SOLR-1017.patch
> Concurrency problem with last_index_time
> ----------------------------------------
>
> Key: SOLR-1017
> URL: https://issues.apache.org/jira/browse/SOLR-1017
> Project: Solr
> Issue Type: Bug
> Components: contrib - DataImportHandler
> Affects Versions: 1.3
> Reporter: Ryuuichi Kumai
> Attachments: SOLR-1017.patch
>
>
> The 'last_index_time' value in DIH is not thread-safe.
> If data import is executed concurrently (in multiple cores), last_index_time
> value might be invalid value.
> I think this problem is caused by DataImporter#DATE_TIME_FORMAT. The static
> instance should not be used in many threads since java.text.SimpleDateFormat
> is not thread-safe.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.