Implicit calls to ListKeys?

Jeremiah Peschka jeremiah.peschka at gmail.com
Sun Feb 10 00:23:50 EST 2013


There are no retries involved - CorrugatedIron won't do anything unless you
ask it to.

---
Jeremiah Peschka - Founder, Brent Ozar Unlimited
MCITP: SQL Server 2008, MVP
Cloudera Certified Developer for Apache Hadoop


On Sat, Feb 9, 2013 at 9:14 PM, Kevin Burton <rkevinburton at charter.net>wrote:

> I see it more than once on Console and the Debug output window (Visual
> Studio). Is there a retry involved or some other reason that it would be
> called multiple times?****
>
> ** **
>
> *From:* riak-users [mailto:riak-users-bounces at lists.basho.com] *On Behalf
> Of *Jeremiah Peschka
> *Sent:* Saturday, February 09, 2013 11:10 PM
> *To:* riak-users
>
> *Subject:* Re: Implicit calls to ListKeys?****
>
> ** **
>
> ListKeys is only invoked during RiakClient.ListKeys,
> RiakAsyncClient.ListKeys, RiakClient.DeleteBucket, and
> RiakAsyncClient.DeleteBucket****
>
> ** **
>
> If you're seeing this 2 more times, it could happen because the warning is
> issued on both the Trace, Debug, and Console -
> https://github.com/DistributedNonsense/CorrugatedIron/blob/master/CorrugatedIron/RiakClient.cs#L612
> ****
>
> ** **
>
> ** **
>
>
> ****
>
> ---****
>
> Jeremiah Peschka - Founder, Brent Ozar Unlimited****
>
> MCITP: SQL Server 2008, MVP****
>
> Cloudera Certified Developer for Apache Hadoop****
>
> ** **
>
> On Sat, Feb 9, 2013 at 8:48 PM, Kevin Burton <rkevinburton at charter.net>
> wrote:****
>
> There must be another. I am only calling ListKeys and DeleteBucket. Each
> once, so I expect to see this warning twice. Which I do most of the time.
> But occasionally I see this warning 2 or 3 more times.  Is it possible that
> there is some kind of recursion going on that triggers this call?****
>
>  ****
>
> *From:* Alexander Moore [mailto:moore.alex at gmail.com]
> *Sent:* Saturday, February 09, 2013 10:41 PM
> *To:* Kevin Burton
> *Cc:* riak-users at lists.basho.com
> *Subject:* Re: Implicit calls to ListKeys?****
>
>  ****
>
> Hey Kevin,****
>
>  ****
>
> It looks like only RiakClient.ListKeys(), RiakClient.ListKeysStream(), and
> RiakClient.DeleteBucket() will give you that warning.
> You shouldn't see it popup from anywhere else in CorrugatedIron. ****
>
>
> Thanks,****
>
> Alex****
>
>  ****
>
>  ****
>
> On Sat, Feb 9, 2013 at 11:19 PM, Kevin Burton <rkevinburton at charter.net>
> wrote:****
>
> One more question I have some code that specifically lists the keys in a
> bucket. I am using Corrugated Iron so I get the warning:****
>
>  ****
>
> *** [CI] -> ListKeys is an expensive operation and should not be used in
> Production scenarios. *******
>
>  ****
>
> Then because again this is a test/development environment I am explicitly
> removing the bucket. I get this same warning again and from what I
> understand this is to be expected.****
>
> So I run this code with different data sets and every once and a while I
> get two or three of these warnings again. Other than ListKeys and
> DeleteBucket what other calls in CorrugatedIron implicitly call ListKeys
> and would trigger generating this warning again?****
>
>  ****
>
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com****
>
>  ****
>
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com****
>
> ** **
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20130209/01865c93/attachment.html>


More information about the riak-users mailing list