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

Concurrency problem with last_index_time

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.4
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              shalinmangar Shalin Shekhar Mangar
              Reporter:
              kuma Liu Kumai
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: