[
https://issues.apache.org/jira/browse/CASSANDRA-2417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13016029#comment-13016029
]
Sylvain Lebresne commented on CASSANDRA-2417:
---------------------------------------------
+1 (committed to 0.7 and trunk)
> convert mmap assertion to if/throw
> ----------------------------------
>
> Key: CASSANDRA-2417
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2417
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 0.6
> Reporter: Jonathan Ellis
> Assignee: Jonathan Ellis
> Priority: Minor
> Fix For: 0.7.5
>
> Attachments: 2417.txt
>
>
> This will allow scrub to catch this:
> {noformat}
> java.lang.AssertionError: mmap segment underflow; remaining is 73936639 but
> 1970430821 requested
> at
> org.apache.cassandra.io.util.MappedFileDataInput.readBytes(MappedFileDataInput.java:119)
> at
> org.apache.cassandra.utils.ByteBufferUtil.read(ByteBufferUtil.java:315)
> at
> org.apache.cassandra.utils.ByteBufferUtil.readWithLength(ByteBufferUtil.java:272)
> at
> org.apache.cassandra.db.ColumnSerializer.deserialize(ColumnSerializer.java:76)
> {noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira