Truncated bit-cask files

2017-02-13 Thread Arun Rajagopalan
Hello Riak Users We have situations where we dont or cant gracefully stop riak. When that happens we occasionally get a truncated last-record in bitcask files If I delete those bitcask dir and the anti_entropy directory, Riak rebuilds those bitcask files correctly Is there a way to rectify

Re: Cross-Compile Riak for Embedded Device

2017-02-13 Thread Darshan Shah
Our main usecase is to create a database in Embedded system to store value received from one server. For our usecase Key value based database is best suitable and we found Riak is one of best for this. So we want to cross compile Riak databse for Embedded system. On Fri, Feb 10, 2017, 3:46 PM

Re: Start up problem talking to Riak

2017-02-13 Thread Alex Moore
Yeah, what Alex said. You can't see it with your application because it's currently bound to the localhost loopback address, but it's bad to just expose everything publicly. 1. Where is this cluster running? (AWS or local dev cluster?) 2. What are you trying to connect to Riak with? Is it one of

Re: Start up problem talking to Riak

2017-02-13 Thread Alexander Sicular
Please don't do that. Don't point the internet at your database. Have them communicate amongst each other on internal ips and route the public through a proxy / middleware. -Alexander @siculars http://siculars.posthaven.com Sent from my iRotaryPhone > On Feb 13, 2017, at 04:00, AWS

Re: Start up problem talking to Riak

2017-02-13 Thread Alex Moore
Hi David, In your riak.conf files, what do the "listener.protobuf.internal" and "listener.http.internal" lines look like? Are they bound to "127.0.0.1:", "0.0.0.0:", or the external ip address? Thanks, Alex On Mon, Feb 13, 2017 at 5:00 AM, AWS wrote: > I know

Re: Secondary indexes or Riak search ?

2017-02-13 Thread John Daily
> > A quick look at riak_test it seems that the `return_body` parameter is > generally supported for both HTTP and PB now. I wasn’t aware of that. I’m not sure into which releases the feature has made it, but bewarned: if it works at all, return_body only works for system indexes: $bucket and

Re: Secondary indexes or Riak search ?

2017-02-13 Thread Alex Feng
Hi Russell, We will look into the links, thank you for the great help. Br, Aelx 2017-02-13 20:05 GMT+08:00 Russell Brown : > Hi Alex, > A quick look at riak_test it seems that the `return_body` parameter is > generally supported for both HTTP and PB now. I wasn’t

Re: Secondary indexes or Riak search ?

2017-02-13 Thread Russell Brown
Hi Alex, A quick look at riak_test it seems that the `return_body` parameter is generally supported for both HTTP and PB now. I wasn’t aware of that. This test exercises the API. https://github.com/basho/riak_test/blob/develop/tests/verify_2i_returnbody.erl The `ref` returned from the link I

Re: Secondary indexes or Riak search ?

2017-02-13 Thread Alex Feng
Hi Russell, We have tried this, but it returns a reference(some number) only. We have googled and haven't found any clue about how to use this API. The API user guide doesn't say much about the "reference". What is the next step with the returned reference ? cs_bucket_fold(Pid::pid(),

Start up problem talking to Riak

2017-02-13 Thread AWS
I know that this isn't directly a Riak issue but I am sure that some of you have met this before and can maybe help me. I am used to Macs and Windows but have now set up an Ubuntu 14.04LTS server on my home network. I have 5 fixed IP addresses so the server has its own external address. I have

Re: Secondary indexes or Riak search ?

2017-02-13 Thread Russell Brown
If you look at the riak-erlang-client here https://github.com/basho/riak-erlang-client/blob/develop/src/riakc_pb_socket.erl#L1129 there is a client API call that was implemented for CS (riak s2, or whatever it is called, the large object store thingy that basho had) that will use the $keys

Re: [Basho Riak] Fail To Update Document Repeatly With Cluster of 5 Nodes

2017-02-13 Thread DAO CUONG
Hi John, We are working on suggestion what you guys provided, we will send our report shortly Best Dao On Fri, Feb 10, 2017 at 11:26 AM, John Daily wrote: > I would like to see the results of experimenting with pr and pw as per my > earlier message in case there is a