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

DataImportHandler: Add logging to record failure to acquire lock by DataImporter for a given request

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • 4.9, 6.0
    • None
    • Java 6, Tomcat 6.0.18

    Description

      There is a possibility of 2 threads to be in DataImporter:runCmd, until before importLock.tryLock() method and then depending on the scheduling - one of them is allowed to pass through from then .

      We need to log the failure of the other as to unable to start because of the failure to acquire the mutex, to distinguish between successful start of import and failure to do so.

      Attachments

        1. SOLR-935.patch
          0.7 kB
          Karthik K
        2. SOLR-935.patch
          6 kB
          Karthik K
        3. SOLR-935.patch
          0.7 kB
          Noble Paul

        Issue Links

          Activity

            People

              noble.paul Noble Paul
              kaykay.unique Karthik K
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified