phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Taylor <>
Subject Re: Composite rowkey and salting
Date Wed, 12 Feb 2014 19:12:10 GMT
Hi Skanda,
Yes, there was actually a bug here that was preventing a point lookup for
salted tables:

It's been fixed and is in our release candidate build for 2.2.3. Would be
great if you could verify that this solves your issue.


On Wed, Feb 12, 2014 at 10:46 AM, Skanda <> wrote:

> Hi
> Assume I have a table with composite keys, say (x,y) salted into 3
> buckets. I understand that the salt is prepended to the actual rowkey. Now
> when I try to lookup the table for x, will phoenix still do a range scan in
> 3 regions to fetch the result? How is the hash derived, using x or x,y?
> Ideally I want to specify the hash component of the composite key,in this
> case x thereby ensuring identical x's fall into the same region.Is it
> possible in phoenix?
> Regards,
> Skanda

View raw message