[ https://issues.apache.org/jira/browse/CASSANDRA-3977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave Brosius updated CASSANDRA-3977: ------------------------------------ Attachment: constant_not_in_range.diff > [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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira