You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Edwin Lee <ed...@gmail.com> on 2014/10/11 15:16:20 UTC

Probably a bug in ConcurrentUpdateSolrServer

Hi friends,
  I may find a bug in ConcurrentUpdateSolrServer
  there is statements in this class:


   if (isXml)  { out.write("</stream>".getBytes(StandardCharsets.UTF_8)); }


It should be moved to the finally block below, or if the
interruptedException is raised, the main thread will continue to submit the
result, which is without "</stream>".
I am not familiar with the rule of community, I am sorry if I act
improperly.

I establish the jira issue for that, which seems to be interesting.
https://issues.apache.org/jira/browse/SOLR-6619


Regards,
Edwin.JH.Lee

2014/10/11