[
https://issues.apache.org/jira/browse/HBASE-13158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14544209#comment-14544209
]
stack commented on HBASE-13158:
-------------------------------
bq. 1.x clients expects the Result cells in PB response.(existing code) If we
change the server to return the cells as payload, the PB data wont contain
Result cells (PB'ed) and so old clients can not read them.
Thanks. Now I get it.
Can we not do this in a backward compatible way? In 2.0, send old format if the
client has not sufficient version?
Clients now volunteer their version on connection. See
RpcServer.getCurrentCall.getClientVersionInfo. If client is not 2.0, then we
return old format.
Yeah, we can break wire format when we go to a new major version but lets not
do it unless we have to.
Nice change otherwise [~anoop.hbase] Dumb we didn't do payload change
everywhere. Thanks for catching it.
> When client supports CellBlock, return the result Cells as controller payload
> for get(Get) API also
> ---------------------------------------------------------------------------------------------------
>
> Key: HBASE-13158
> URL: https://issues.apache.org/jira/browse/HBASE-13158
> Project: HBase
> Issue Type: Improvement
> Reporter: Anoop Sam John
> Assignee: Anoop Sam John
> Fix For: 2.0.0
>
> Attachments: HBASE-13158.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)