cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-2417) convert mmap assertion to if/throw
Date Tue, 05 Apr 2011 17:46:05 GMT

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

Hudson commented on CASSANDRA-2417:
-----------------------------------

Integrated in Cassandra-0.7 #421 (See [https://hudson.apache.org/hudson/job/Cassandra-0.7/421/])
    Convert mmap assertion to if/throw
patch by jbellis; reviewed by slebresne for CASSANDRA-2417


> 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

Mime
View raw message