[
https://issues.apache.org/jira/browse/SOLR-3787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hoss Man updated SOLR-3787:
---------------------------
Fix Version/s: 4.0
Assignee: Sami Siren
I'm not very familiar with the replication code, but the description looks
pretty bad to me.
Sami: the commit in question appears to be yours, related to SOLR-3558 - can
you please assess this?
> Compress (internal) parameter mismatch
> --------------------------------------
>
> Key: SOLR-3787
> URL: https://issues.apache.org/jira/browse/SOLR-3787
> Project: Solr
> Issue Type: Bug
> Components: replication (java)
> Affects Versions: 4.0-BETA
> Environment: N/A
> Reporter: Joseph Lamoree
> Assignee: Sami Siren
> Priority: Minor
> Fix For: 4.0
>
>
> In the following commit, the value of the parameter set in SnapPuller changed
> from "true" to "internal":
> http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/java/org/apache/solr/handler/SnapPuller.java?r1=1353888&r2=1353889&
> Specifically, this line:
> formparams.add(new BasicNameValuePair(COMPRESSION, "true"));
> Was changed to this:
> params.set(COMPRESSION, "internal");
> When the ReplicationHandler tests the value sent in the query string, it uses
> Boolean.parseBoolean() and expects the string "true". I created a packet
> capture, watching the slave make a request of the master. The transfer of
> files fails when my solrconfig.xml has a slave configuration like this:
> <str name="compression">internal</str>
> An exception is thrown on the slave because it is expecting a compressed
> response from the following:
> /solr/core/replication?command=filecontent&generation=N ...
> &compression=internal&checksum=true&wt=filestream
> When I manually make the above request, replacing compression=internal with
> compression=true, the expected compressed response is received from the
> master.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]