Anand, 

All possible buckets exist implicitly regardless of whether or not the bucket 
is storing keys. Listing keys is one way to know whether or not a bucket is 
storing keys. Your application could store a special object in buckets that it 
considers existent and check for that key. 

-- 
Ian Plosker <i...@basho.com>
Technical Lead, International Operations
Basho Technologies


On Monday, 9 July 2012 at 14:07, Anand Hegde wrote:

> I am using the riak gem in ruby, is there any way i can check if a bucket 
> exists? (without listing all the keys of the bucket?)
> 
> Regards,
> Anand Hegde
> ianand.in (http://ianand.in)
> 
> _______________________________________________
> riak-users mailing list
> riak-users@lists.basho.com (mailto:riak-users@lists.basho.com)
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
> 
> 


_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to