lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <>
Subject [jira] [Updated] (SOLR-3787) Compress (internal) parameter mismatch
Date Wed, 05 Sep 2012 00:15:07 GMT


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
> Compress (internal) parameter mismatch
> --------------------------------------
>                 Key: SOLR-3787
>                 URL:
>             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":
> 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:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message