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

Add connection/read timeout for SolrEntityProcessor in DataImportHandler

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 7.0
    • None

    Description

      This issue pertains to SolrEntityProcessor for importing documents from one Solr to another over HTTP. There have been instances when the DataImportHandler (DIH) hangs due to network/LB level issues. The abort command fails to stop the in-progress frozen import process. The DIH remains in this state for days and does not accept new request for import until Solr restart. The current implementation of SolrEntityProcessor has timeout at query level only.

      There should be option to specify connection as well as socket read timeouts. The import process must fail in case of any anomaly and not remain in hung state.

      Attachments

        1. SOLR-10487.patch
          8 kB
          Goutam Mandal
        2. SOLR-10487.patch
          6 kB
          Shawn Heisey

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gmandal Goutam Mandal
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m