Can someone give me a pointer on how I could use the TAP interface to export all the keys from a membase cluster? We are trying to write some code to selectivly invalidate keys but need the export so we can loop through them.
you can use the following command:
This will give you data from the default bucket. Specifying a particular bucket is not supported in the current release.
Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.Consider purchasing enterprise-level support from Membase: http://www.membase.com/products-and-services/overviewCall or email "sales -at- membase -dot- com" today!
Thanks for the response. Executing the code I get a python error. No luck googling for clues.
info: New bin connection from Noneerror: uncaptured python exception, closing channel <__main__.TapConnection connected at 0x7d70e0> (<type 'exceptions.AssertionError'>: [/usr/lib64/python2.6/asyncore.py|read|76] [/usr/lib64/python2.6/asyncore.py|handle_read_event|416] [/opt/membase/126.96.36.199/bin/ep_engine/management/mc_bin_server.py|handle_read|325])
We only have one bucket, but I am guessing it is not the "default" bucket.
Bucket Name: store_cache Bucket Type: Membase Access Control: Port: 11212
The tap.py doesn't yet support buckets other than default. There is a jira issue about it open.
© 2013 COUCHBASE All rights reserved.