riakc_pb_socket client & poolboy

2012-09-24 Thread Yuri Lukyanov
Hi, I'm trying to use poolboy to organize a pool of connections to riak nodes with protobuf client. This has come from the suggestion here: http://lists.basho.com/pipermail/riak-users_lists.basho.com/2012-September/009346.html The quote: "Using Poolboy is convenient because it comes as a depende

Re: riakc_pb_socket client & poolboy

2012-09-24 Thread Yuri Lukyanov
ributed between the machines. > > On Mon, Sep 24, 2012 at 11:38 AM, Yuri Lukyanov wrote: >> >> Hi, >> >> I'm trying to use poolboy to organize a pool of connections to riak >> nodes with protobuf client. >> >> This has come from the suggestion h

"exception exit: disconnected" when reading old 0.13.0 riak data with protobuf client

2012-09-24 Thread Yuri Lukyanov
Hi, I have a cluster with old 0.13.0 riak nodes installed. Erlang native API client is used to get/put data to/from the cluster. Now I'm trying to start using protobuf client (riakc_pb_socket). The problem is that the pb client can't read data saved with old native riak_client. Steps to reproduce:

Re: Using Riak as cache layer

2012-10-01 Thread Yuri Lukyanov
I suggest that you use http://www.couchbase.com/ (ex-membase) instead as a cache layer. It's faster but less reliable than riak, which is ok for cache layer. On Mon, Oct 1, 2012 at 12:47 AM, Pavel Kogan wrote: > Hi all experts, > > I want to use Riak for caching and have few questions: > > 1) Ho

Riak 1.2: stalled handoff

2013-04-05 Thread Yuri Lukyanov
Hi, I was adding the 7-th node to one of our riak 1.2 clusters. Everything was ok untill the process suddenly stopped with one handoff left: # riak-admin transfers Attempting to restart script through sudo -H -u riak riak@nsto0r6 waiting to handoff 1 partitions Active Transfers: Note that no t

Re: Riak 1.2: stalled handoff

2013-04-05 Thread Yuri Lukyanov
riak-admin ringready ? > > Thanks, > Alex > > > --Alex > > > On Fri, Apr 5, 2013 at 6:37 PM, Alexander Moore wrote: > >> Hi Yuri, >> >> What backend are you using? >> >> What does riak-admin ring-status output? >> >> Thanks, >>

A story about unexpected changes in riak-erlang-client dependencies

2013-04-09 Thread Yuri Lukyanov
Hi, To begin with, I almost fucked up production servers with these changes in riak_pb: https://github.com/basho/riak_pb/commit/2505ff1fa3975b93150d7445b6f7b91940ecb970 Well, this issue boils down to commonly known rebar-related problem. I was even hesitating which mailing list I should've sent t

Re: A story about unexpected changes in riak-erlang-client dependencies

2013-04-09 Thread Yuri Lukyanov
Glad to hear you are moving away from master dependencies. Would be great if all of us follow this way. It's sad that even if you completely sorted out your own deps and rebar.conig's, it does not solve the problem in general. You may still want to use third-party deps which are not necessary good

Simultaneous handoff and merge

2013-04-18 Thread Yuri Lukyanov
Hi, I have a cluster of 17 riak (1.2.1) nodes with bitcask as a backend. Recetly one of the node was down for a while. After the node had been started the cluster started doing handoffs as expected. But then a merge process also began on the same node. I know this from the log messages like this:

Re: Simultaneous handoff and merge

2013-04-20 Thread Yuri Lukyanov
still have concerns about this. Even if one node is merging at the moment, it looks like the whole cluster is significantly affected. On Thu, Apr 18, 2013 at 1:07 PM, Yuri Lukyanov wrote: > Hi, > > I have a cluster of 17 riak (1.2.1) nodes with bitcask as a backend. > > Recetly one