Re: quick questions

2016-12-17 Thread Kant Kodali
Thanks! got it! On Sat, Dec 17, 2016 at 5:02 PM, Max C wrote: > As Matija mentioned, quorum is RF / 2 + 1: > > RF=1, Quorum = 1 > RF=2, Quorum = 2 > RF=3, Quorum = 2 > RF=4, Quorum = 3 > RF=5, Quorum = 3 > RF=6, Quorum = 4 > RF=7, Quorum = 4 > > So no, you don’t have to have an odd RF to achieve

Re: quick questions

2016-12-17 Thread Max C
As Matija mentioned, quorum is RF / 2 + 1: RF=1, Quorum = 1 RF=2, Quorum = 2 RF=3, Quorum = 2 RF=4, Quorum = 3 RF=5, Quorum = 3 RF=6, Quorum = 4 RF=7, Quorum = 4 So no, you don’t have to have an odd RF to achieve a quorum, as you see above. Most people use RF=3 with a minimum of 3 nodes, though

Re: quick questions

2016-12-17 Thread Kant Kodali
@Matjia I think you either did not understand my question or I failed to explain it more clearly. On Sat, Dec 17, 2016 at 4:46 PM, Matija Gobec wrote: > QUORUM is by documentation: > > quorum = (sum_of_replication_factors / 2) + 1 > > Its not fixed value (as 4). > > On Sat, Dec 17, 2016 at 10:21

Re: quick questions

2016-12-17 Thread Matija Gobec
QUORUM is by documentation: quorum = (sum_of_replication_factors / 2) + 1 Its not fixed value (as 4). On Sat, Dec 17, 2016 at 10:21 PM, Kant Kodali wrote: > I keep hearing that the minimum number of Cassandra nodes required to > achieve Quorum consensus is 4 I wonder why not 3? In fact, many c

Re: Time range for metrics histogram

2016-12-17 Thread Paulo Motta
See CASSANDRA-11752 for 2.2+ histogram. 2016-12-17 21:13 GMT-02:00 Aleksandr Ivanov : > Hi C* experts! > > I'm trying to understand over what time range C* latency metrics histogram > is calculated. > Several sources state that max is calculated from C* start, but on graphs > I see that max laten

Time range for metrics histogram

2016-12-17 Thread Aleksandr Ivanov
Hi C* experts! I'm trying to understand over what time range C* latency metrics histogram is calculated. Several sources state that max is calculated from C* start, but on graphs I see that max latency metric is jumping up and down over the time. Other sources state that histogram is calculated fo

quick questions

2016-12-17 Thread Kant Kodali
I keep hearing that the minimum number of Cassandra nodes required to achieve Quorum consensus is 4 I wonder why not 3? In fact, many container deployments by default seem to deploy 4 nodes. Can anyone shine some light on this? What happens if I have 3 nodes and replication factor of 3 and consist

Schema help required

2016-12-17 Thread Sagar Jambhulkar
Hi, Needed a suggestion for a schema query. I want to build a reconciliation using Cassandra. Basically two or more systems send message to a reconciliation process. The reconciliation process first does a level one match of id's and than does complete comparison of messages. The best I could thin

Re: Choosing a compaction strategy (TWCS)

2016-12-17 Thread Voytek Jarnot
Thanks again. I swear I'd look this up instead, but my google-fu is failing me completely ... That said, I presume that they're enabled by setting values for tombstone_compaction_interval and tombstone_threshold? Or is there more to it? On Fri, Dec 16, 2016 at 10:41 PM, Jeff Jirsa wrote: > Wit

Re: High CPU on nodes

2016-12-17 Thread Alain RODRIGUEZ
Hi, What does 'nodetool netstats' looks like on those nodes? we have 30GB heap > How is the JVM / GC doing? Are you using G1GC or CMS? This setting would be bad for CMS. You can use this tool to understand were the CPU is being used https://github.com/aragozin/jvm-tools/blob/master/sjk-core/COM