Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-1351

Avro Schema Swap

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Urgent
    • Resolution: Fixed
    • Fix Version/s: 0.7 beta 1
    • Component/s: None
    • Labels:
      None
    • Severity:
      Critical

      Description

      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).

        Attachments

          Activity

            People

            • Assignee:
              stuhood Stu Hood Assign to me
              Reporter:
              stuhood Stu Hood
              Authors:
              Stu Hood

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment