You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Zhihong Yu (JIRA)" <ji...@apache.org> on 2012/05/16 04:56:07 UTC

[jira] [Commented] (HBASE-6009) Changes for HBASE-5209 are technically incompatible

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

Zhihong Yu commented on HBASE-6009:
-----------------------------------

bq. or we can have start and end markers
How do we define the markers ? Through a series of magic bytes ?

Looks like total size field for ClusterStatus is better choice.
                
> Changes for HBASE-5209 are technically incompatible
> ---------------------------------------------------
>
>                 Key: HBASE-6009
>                 URL: https://issues.apache.org/jira/browse/HBASE-6009
>             Project: HBase
>          Issue Type: Bug
>          Components: master
>    Affects Versions: 0.92.1, 0.94.0
>            Reporter: David S. Wang
>
> The additions to add backup masters to ClusterStatus are technically incompatible between clients and servers.  Older clients will basically not read the extra bits that the newer server pushes for the backup masters, thus screwing up the serialization for the next blob in the pipe.
> For the Writable, we can add a total size field for ClusterStatus at the beginning, or we can have start and end markers.  I can make a patch for either approach; interested in whatever folks have to suggest.  Would be good to get this in soon to limit the damage to 0.92.1 (don't know if we can get this in in time for 0.94.0).
> Either change will make us forward-compatible starting with when the change goes in, but will not fix the backwards incompatibility, which we will have to mark with a release note as there have already been releases with this change.
> Hopefully we can do this in a cleaner way when wire compat rolls around in 0.96.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira