counter crdt in riak

2015-10-20 Thread David Byron
Apologies if this is basic question, or one that's already been answered. I've done a fair amount of digging (e.g. http://thread.gmane.org/gmane.comp.db.riak.user/12808/focus=12816), but I'm still confused about the documentation regarding conflict resolution for riak's crdt counter. Specific

Re: counter crdt in riak

2015-10-20 Thread David Byron
iak's counters were PN...which I think is what you're saying...except the part about them behaving as G-Counters. Sorry if I'm a little slow on the uptake here, and thanks again for your help. -DB Hope this helps, Jason ____

Re: counter crdt in riak

2015-10-21 Thread David Byron
Whoops...didn't mean to drop the mailing list off the recipient list. Pull request here: https://github.com/basho/basho_docs/pull/1865. -DB On 10/21/15 7:52 AM, David Byron wrote: On 10/20/15 11:56 PM, Russell Brown wrote: On 21 Oct 2015, at 04:56, David Byron wrote: Apologies if

simpler implementation of RiakMap

2015-11-13 Thread David Byron
As I stare at the code for RiakMap in the riak-java-client (https://github.com/basho/riak-java-client/blob/develop/src/main/java/com/basho/riak/client/core/query/crdt/types/RiakMap.java), I have the urge for a simpler implementation. If I'm reading the code right, it looks like it handles a val

handling failure in RiakCommand#execute

2015-11-13 Thread David Byron
From my reading of RiakCommand#execute (https://github.com/basho/riak-java-client/blob/develop/src/main/java/com/basho/riak/client/api/RiakCommand.java#L85), I'm curious why there's no call to future.isSuccess() I can imagine that future.await() throws an exception for all possible failures,

cluster health check using riak-java-client

2015-12-02 Thread David Byron
I'm implementing a health check for a service of mine that uses riak. I've seen this code from https://github.com/basho/riak-java-client/issues/456: RiakCluster cluster = clientInstance.getRiakCluster(); List nodes = cluster.getNodes(); for (RiakNode node : nodes) { State state = node.getNode

Re: cluster health check using riak-java-client

2015-12-08 Thread David Byron
g a stale notion of health in circumstances like I outlined below -- when the last operation was successful, but the node has since gone down. Thanks for your input. -DB On 12/2/15 10:25 PM, David Byron wrote: I'm implementing a health check for a service of mine that uses riak. I

Re: cluster health check using riak-java-client

2015-12-13 Thread David Byron
d to their primary physical machines. This is a way you can check cluster status from the app level as in , is the cluster in some kind of borked state. -Alexander @siculars http://siculars.posthaven.com Sent from my iRotaryPhone On Dec 8, 2015, at 14:13, David Byron wrote: I'm still cu

accessor for FetchDatatype's location?

2016-01-12 Thread David Byron
I'm looking for access to the location member of FetchDatatype (https://github.com/basho/riak-java-client/blob/develop/src/main/java/com/basho/riak/client/api/commands/datatypes/FetchDatatype.java#L37) to verify in a test that I'm using the right location. I'm happy to make a pull request if th

Re: accessor for FetchDatatype's location?

2016-01-14 Thread David Byron
On 1/14/16 7:40 AM, Alex Moore wrote: > Hi David, > > It doesn't look like we expose that property anywhere, but it can > probably be chalked up to YAGNI when it was written. Go forth and > PR :) Excellent...except for this at the HEAD of develop (24e1404). $ mvn clean install [INFO] Scanning

Re: accessor for FetchDatatype's location?

2016-01-25 Thread David Byron
brew you can use this <http://stackoverflow.com/a/23760535> procedure to install the older protobuf lib (just swap protobuf241 for protobuf250). Thanks, Alex On Thu, Jan 14, 2016 at 2:22 PM, David Byron mailto:dby...@dbyron.com>> wrote: On 1/14/16 7:40 AM, Alex Moore wrote: > H

epmd listener port

2016-02-16 Thread David Byron
http://docs.basho.com/riak/latest/community/faqs/operations/#is-it-possible-to-change-the-port-on-which-the-erl says to add -env ERL_EPMD_PORT to vm.args, but I get the sense from http://docs.basho.com/riak/latest/ops/advanced/configs/configuration-files/ that the goal is to avoid vm.args in

Re: epmd listener port

2016-02-18 Thread David Byron
: this is not very well documented (if at all), and I've seen many people ask about it (be it for vm options, or adding paths, etc). It might be useful to ad some documentation section about it. Cheers, dams Christopher Meiklejohn wrote: On Tue, Feb 16, 2016 at 3:24 PM, David Byron wrote:

how to determine riak version

2016-04-22 Thread David Byron
I'm pondering upgrading riak from 2.1.3 to 2.1.4 and got myself confused confirming that I really am running 2.1.3 at the moment. I installed riak from here: https://packagecloud.io/basho/riak/packages/ubuntu/trusty/riak_2.1.3-1_amd64.deb. and all of this looks promising: $ riak version 2.1.

Re: how to determine riak version

2016-04-22 Thread David Byron
, so those two version numbers are not necessarily going to always be the same. Doug Rohrer On Apr 22, 2016, at 2:28 PM, David Byron wrote: I'm pondering upgrading riak from 2.1.3 to 2.1.4 and got myself confused confirming that I really am running 2.1.3 at the moment. I installed riak