cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "T Jake Luciani (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-2256) BRAF assertion error
Date Wed, 02 Mar 2011 20:20:36 GMT

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

T Jake Luciani commented on CASSANDRA-2256:
-------------------------------------------

The counter argument is we call seek() 2 times for every row in SSTableWriter.

So we need to make sure we don't call stat() unless we have no other choice.
Another approach would be to set fileLength based on the total number of bytes from the starting
size, or 0 for a new file...

> BRAF assertion error
> --------------------
>
>                 Key: CASSANDRA-2256
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2256
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7.3
>            Reporter: Jonathan Ellis
>            Assignee: Pavel Yaskevich
>             Fix For: 0.7.4
>
>         Attachments: CASSANDRA-2256.patch
>
>
> While investigating CASSANDRA-2240 I ran into this:
> {noformat}
> java.lang.AssertionError
>         at org.apache.cassandra.io.util.BufferedRandomAccessFile.read(BufferedRandomAccessFile.java\
> :230)
>         at java.io.RandomAccessFile.readByte(RandomAccessFile.java:589)
>         at org.apache.cassandra.utils.ByteBufferUtil.readShortLength(ByteBufferUtil.java:273)
>         at org.apache.cassandra.utils.ByteBufferUtil.readWithShortLength(ByteBufferUtil.java:284)
>         at org.apache.cassandra.db.CompactionManager.doScrub(CompactionManager.java:539)
> {noformat}

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message