> There must be another.
>

If you look at the code you'll see the ListKeys and StreamingListKeys are
the only two functions that make the call to write this debug output.
DeleteBucket has to list keys to know what to delete, so it calls ListKeys
first.

If you can provide a code sample that generates this output twice where
there is only one visible call I would be happy to fix the problem.

OJ




> 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:[email protected]]
> *Sent:* Saturday, February 09, 2013 10:41 PM
> *To:* Kevin Burton
> *Cc:* [email protected]
> *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 <[email protected]>
> 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
> [email protected]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com****
>
> ** **
>
> _______________________________________________
> riak-users mailing list
> [email protected]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>


-- 

OJ Reeves
+61 431 952 586
http://buffered.io/
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to