You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2009/02/11 11:57:00 UTC

[jira] Assigned: (SOLR-1017) Concurrency problem with last_index_time

     [ https://issues.apache.org/jira/browse/SOLR-1017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shalin Shekhar Mangar reassigned SOLR-1017:
-------------------------------------------

    Assignee: Shalin Shekhar Mangar

> 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
>            Assignee: Shalin Shekhar Mangar
>         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.