You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Stu Hood (JIRA)" <ji...@apache.org> on 2010/08/03 18:19:15 UTC

[jira] Commented: (CASSANDRA-1351) Avro Schema Swap

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

Stu Hood commented on CASSANDRA-1351:
-------------------------------------

Also, I opened AVRO-603 to handle clarifying these docs.

> Avro Schema Swap
> ----------------
>
>                 Key: CASSANDRA-1351
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1351
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Stu Hood
>            Assignee: Stu Hood
>            Priority: Critical
>             Fix For: 0.7.0
>
>         Attachments: 0001-Specify-the-readers-schema-as-different-from-the-wri.patch
>
>
> Due to misreading Avro's docs, I swapped the Schema parameters to Avro's schema resolver.
> The schema resolver allows for backwards compatibility by accepting a writer's (ser.) and reader's (deser.) schema, and resolving them to determine which fields to add or ignore. The reader's schema was not being set correctly, which was breaking backwards compatibility (although not the disk format).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.