You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2011/04/05 16:08:05 UTC

[jira] [Created] (CASSANDRA-2417) convert mmap assertion to if/throw

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


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

[jira] [Commented] (CASSANDRA-2417) convert mmap assertion to if/throw

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-2417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13016067#comment-13016067 ] 

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

Integrated in Cassandra #829 (See [https://hudson.apache.org/hudson/job/Cassandra/829/])
    Merge CASSANDRA-2417 from 0.7


> 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

[jira] [Commented] (CASSANDRA-2417) convert mmap assertion to if/throw

Posted by "Sylvain Lebresne (JIRA)" <ji...@apache.org>.
    [ 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

[jira] [Updated] (CASSANDRA-2417) convert mmap assertion to if/throw

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-2417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis updated CASSANDRA-2417:
--------------------------------------

    Attachment: 2417.txt

> 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

[jira] [Commented] (CASSANDRA-2417) convert mmap assertion to if/throw

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ 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