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

Pavel Yaskevich commented on CASSANDRA-2256:
--------------------------------------------

That will be allowed as it is right now but that won't create any problems 
because length of the file is dynamic in that case and isEOF() method will be 
working properly.

> 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

        

Reply via email to