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

Emmanuel Bernard (JIRA) noreply at atlassian.com
Fri Aug 26 11:27:02 EDT 2011


     [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Bernard resolved HSEARCH-836.
--------------------------------------

    Resolution: Out of Date

> 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