Implicit calls to ListKeys?

Kevin Burton rkevinburton at charter.net
Sat Feb 9 23:48:03 EST 2013


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

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20130209/aef2b67b/attachment.html>


More information about the riak-users mailing list