Export All Keys
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.
Thanks for the response. Executing the code I get a python error. No luck googling for clues.
/opt/membase/bin/ep_engine/management/tap.py 127.0.0.1:11210
info: New bin connection from None
error: 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/1.6.0.1/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
Hello,
The tap.py doesn't yet support buckets other than default. There is a jira issue about it open.
http://jira.membase.org/browse/MB-2725
Thanks
Bhawana
you can use the following command:
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/overview
Call or email "sales -at- membase -dot- com" today!