[
https://issues.apache.org/jira/browse/HBASE-17585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Enis Soztutar updated HBASE-17585:
----------------------------------
Attachment: hbase-17585_v2.patch
v2 patch which is significantly different than the v1.
- Service is changed from {{unique_ptr<Request> to Response}} to
{{unique_ptr<Request> to unique_ptr<Response>}}. This is needed since we do not
want to copy construct the Response when passing around.
- Codec is initialized from higher levels, then passed to RpcClient and below
layers (this is needed for the BUCK module dependency).
- Response has a CellScanner now coming from the rpc layers
- ResponseConverter can create Results from GetResponse or ScanResponse with
optional CellScanner.
[~sudeeps] do you mind taking a quick look.
[~xiaobingo] this is changing some of the RPC layer signatures, FYI.
> [C++] Use KVCodec in the RPC request/response
> ---------------------------------------------
>
> Key: HBASE-17585
> URL: https://issues.apache.org/jira/browse/HBASE-17585
> Project: HBase
> Issue Type: Sub-task
> Reporter: Enis Soztutar
> Attachments: hbase-17585_v1.patch, hbase-17585_v2.patch
>
>
> After HBASE-17278, we need to start using the KVCodec in RPC, so that we do
> not serialize Cells via PB back and forth.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)