hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Liochon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10355) Failover RPC's from client using region replicas
Date Wed, 26 Feb 2014 13:39:24 GMT

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

Nicolas Liochon commented on HBASE-10355:
-----------------------------------------

bq. This has to be public?
I think so, as it's in the interface. But it's in ClusterConnection, not HConnection.

bq. should call out use of Replicas. ...WithReadReplicas?
Ok, will do.

bq. Something that subclasses HBaseIOE? (Think Benoit).
Will do as well.

bq Can we avoid HRegion having to know about 'replicas'?
I don't know how :-).

bq. This is repeated code? In HRegion and in HRegionServer.
I can move the  !ServerRegionReplicaUtil.isDefaultReplica(this.getRegionInfo()); into HRI?
Then the code would be 
ClientProtos.Result pbr = ProtobufUtil.toResult(existence, this.getRegionInfo().isDefaultReplica());
It would be more "object oriented", like in the 90'

> Failover RPC's from client using region replicas
> ------------------------------------------------
>
>                 Key: HBASE-10355
>                 URL: https://issues.apache.org/jira/browse/HBASE-10355
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Client
>            Reporter: Enis Soztutar
>            Assignee: Nicolas Liochon
>             Fix For: 0.99.0
>
>         Attachments: 10355.v1.patch, 10355.v2.patch, 10355.v3.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message