[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-836) Evaluate the need to send the writing schema over with the message

Emmanuel Bernard (JIRA) noreply at atlassian.com
Sat Aug 6 08:22:02 EDT 2011


    [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43184#comment-43184 ] 

Emmanuel Bernard commented on HSEARCH-836:
------------------------------------------

note I've set the community flag up. It is a significant work but that's almost unrelated to HSearch codebase. It's more related to Avro.

> Evaluate the need to send the writing schema over with the message
> ------------------------------------------------------------------
>
>                 Key: HSEARCH-836
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-836
>             Project: Hibernate Search
>          Issue Type: Bug
>          Components: serialization
>    Affects Versions: 4.0
>            Reporter: Emmanuel Bernard
>
> Avro knows to read a message serialized by a different writer assuming certain conditions described in their spec http://avro.apache.org/docs/1.5.1/spec.html
> But both reader and writer schema should be provided up deserialization 
> GenericDatumReader(Schema writer, Schema reader, GenericData data)
> Should we embed the schema with each message? It looks like a significant payload.
> If we don't, we can use the major.minor version numbers that are before the avro stream. But that will only work if the receiver is more recent that the writer.
> In all case, we need a prototype to test backward compatibility.

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

        


More information about the hibernate-issues mailing list