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

BaseResponseWriter isStreamingDocs causes SingleResponseWriter.end to be called 2x

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.1, 4.0-ALPHA
    • Response Writers
    • None

    Description

      I noticed while working on the slew of Geo issues that there was another bug in BaseResponseWriter.java. Basically if you have isStreamingDocs set to true (causing writeDoc to be called), you get 2 calls of SIngleResponseWriter.end(), which is bad (I was getting two </channel></rss> endings in the GeoRssResponseWriter). This patch fixes the issue.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            chrismattmann Chris A. Mattmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment