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

Concurrency problem with last_index_time

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3
    • 1.4
    • 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

        1. SOLR-1017.patch
          6 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: