[
https://issues.apache.org/jira/browse/HBASE-7503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13552124#comment-13552124
]
Jean-Marc Spaggiari commented on HBASE-7503:
--------------------------------------------
The idea is the following.
We have 2 options. We can build the MultiGetRequest or re-use the GetRequest.
If we re-use the GetRequest we might have some duplicates on the region field,
but that will allow to have different requests bundled togehter (some with
existenceOnly, some without, etc.) If we build the MultiGetRequest on repeated
Get, that reduce the size of the data, but that reduce also the usecases.
{code}
message MultiGetRequest {
required RegionSpecifier region = 1;
repeated Get get = 2;
// If the row to get doesn't exist, return the
// closest row before.
optional bool closestRowBefore = 3;
// The result isn't asked for, just check for
// the existence. If specified, closestRowBefore
// will be ignored
optional bool existenceOnly = 4;
}
{code}
or
{code}
message MultiGetRequest {
repeated GetRequest get = 1;
}
{code}
I see pros and cons for both solutions. But I might be missing the overall
picture...
> Add exists(List) in HTableInterface to allow multiple parallel exists at one
> time
> ---------------------------------------------------------------------------------
>
> Key: HBASE-7503
> URL: https://issues.apache.org/jira/browse/HBASE-7503
> Project: HBase
> Issue Type: Improvement
> Reporter: Jean-Marc Spaggiari
> Assignee: Jean-Marc Spaggiari
> Priority: Minor
> Fix For: 0.96.0
>
> Attachments: HBASE-7503-v0-trunk.patch, HBASE-7503-v1-trunk.patch
>
> Original Estimate: 5m
> Remaining Estimate: 5m
>
> We need to have a Boolean[] exists(List<Get> gets) throws IOException method
> implemented in HTableInterface.
--
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