[
https://issues.apache.org/jira/browse/BOOKKEEPER-587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13612387#comment-13612387
]
Sijie Guo commented on BOOKKEEPER-587:
--------------------------------------
{quote}
When an old decoder sees an enum value it doesn't know, it will throw an
exception. When it sees a integer, it will just decode it. It doesn't know
anything about the meaning about the integer so it can be passed to the
application, which can have a catchall for unrecognised values (which is what
we do in places, such as when we don't recognise error codes).
{quote}
doesn't it work to catch the exception to do same thing?
> Make BK use protobufs on the wire
> ---------------------------------
>
> Key: BOOKKEEPER-587
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-587
> Project: Bookkeeper
> Issue Type: Sub-task
> Reporter: Ivan Kelly
> Assignee: Ivan Kelly
> Fix For: 4.3.0
>
> Attachments:
> 0003-BOOKKEEPER-587-Make-BK-use-protobufs-on-the-wire.-Bu.patch
>
>
> Building on BOOKKEEPER-582, make bookkeeper use protobufs for on wire
> transmission.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira