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

blockUntilFinished() is called in StreamingUpdateSolrServer more often then it should

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.4.1
    • 4.6
    • clients - java
    • None

    Description

      in the StreamingUpdateSolrServer .request() it identifies a commit/optimize request by having no document...

          // this happens for commit...
          if( req.getDocuments()==null || req.getDocuments().isEmpty() ) {
            blockUntilFinished();
      

      ...but there are other situations where an UpdateRequest will nave no documents (delete, updates using stream.url or stream.file, etc...)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              oferfort ofer fort
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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