Solr
  1. Solr
  2. SOLR-1017

Concurrency problem with last_index_time

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

        Activity

        Hide
        Shalin Shekhar Mangar added a comment -

        Committed revision 743299.

        Thanks for catching this and for the patch Ryuuichi!

        Show
        Shalin Shekhar Mangar added a comment - Committed revision 743299. Thanks for catching this and for the patch Ryuuichi!
        Hide
        Grant Ingersoll added a comment -

        Bulk close for Solr 1.4

        Show
        Grant Ingersoll added a comment - Bulk close for Solr 1.4

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development