[ 
https://issues.apache.org/jira/browse/CASSANDRA-3977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13493195#comment-13493195
 ] 

Sylvain Lebresne commented on CASSANDRA-3977:
---------------------------------------------

I think this issue has been forgotten, but once rebased you have my +1 to 
commit on trunk.
                
> [patch] choose a constant for 'no compression ration' that is outside the 
> valid range of compression ratios
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-3977
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3977
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Dave Brosius
>            Priority: Trivial
>         Attachments: constant_not_in_range.diff
>
>
> code used Double.MIN_VALUE to represent a 'no compression ratio' constant. 
> Since Double.MIN_Value is a valid compression ratio (albeit unlikely) switch 
> the constant to -1 which is out of range.

--
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

Reply via email to