cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-2174) saved caches written with BufferedRandomAccessFile cannot be read by ObjectInputStream
Date Wed, 16 Feb 2011 06:05:57 GMT

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

Jonathan Ellis commented on CASSANDRA-2174:
-------------------------------------------

We don't use ObjectInputStream for cache reads anymore, and we need to use BRAF to get the
non-buffer-cache-clobbering effect on cache writes.

We don't care about 0.7.0 reading 0.7.1/2 caches, since we made the choice to allow 0.7.1
to write new-format data files (CASSANDRA-1555) which is a much bigger incompatibility.

If 0.7.1/2 can't read 0.7.0, then we goofed, but changing it back (breaking 0.7.2 -> 0.7.3)
seems like too late.

> saved caches written with BufferedRandomAccessFile cannot be read by ObjectInputStream
> --------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-2174
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2174
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 0.7.1
>            Reporter: Matthew F. Dennis
>            Assignee: Matthew F. Dennis
>             Fix For: 0.7.3
>
>         Attachments: 2174-cassandra-0.7.txt
>
>
> The CacheWriter is currently writing with BufferedRandomAccessFile which is incompatible
with ObjectInputStream resulting in stack traces about corrupted stream headers when loading
a saved cache.

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

        

Mime
View raw message