Using goriakpbc, I have gotten an archive copy of a DB that has a bunch of unknown data in it. I can get all the keys out of a particular bucket, butwould like to get all of the bucket names first to see how many there are, and what their names are.
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
In practice the impact of running these depend on the size of your cluster nodes and workload they are performing.
My suggestion would be to use the HTTP API rather and ask riak for JSON documents (by specifying the 'Content-Type: application/json' header). This way you can leverage go's http and json libs.
I also use the streaming query parameter (add '?keys=true' to the URL for listing keys) to turn on HTTP 1.1 chunked transfer encoding. Just be aware that if you're collecting JSON documents the chunks may not be split on the serialized object boundaries.