Re: [DISCUSSION] New dependencies for SAI CEP-7

2022-12-14 Thread David Capwell
> As such I would prefer to keep using the carrotsearch generators Works for me; I am cool with the added test dependency. > On Dec 14, 2022, at 7:13 AM, Mike Adamson wrote: > > I have had a look at whether we could use the QuickTheories in our randomized > testing and come to the following co

Re: Issue when creating a stream session

2022-12-14 Thread Natnael Adere
To give more context, StreamSession is not listening to Gossip for membership changes. Although it implements an interface for listening to membership changes, we do not register with Gossip and, therefore, never get these changes. This results in the IEndpointStateChangeSubscriber interface bei

Re: Single slow node dramatically reduces cluster write throughput regardless of CL

2022-12-14 Thread Jeremiah Jordan
I have seen this same behavior in the past as well and came to the same conclusions of where the issue is. It would be good to write this up in a ticket. Giving people the option of using the DynamicEndpointSnitch to order batch log replica selection could mitigate this exact issue, but may ha

Single slow node dramatically reduces cluster write throughput regardless of CL

2022-12-14 Thread Sarisky, Dan
We issue writes to Cassandra as logged batches(RF=3, Consistency levels=TWO, QUORUM, or LOCAL_QUORUM) On clusters of any size - a single extremely slow node causes a ~90% loss of cluster-wide throughput using batched writes. We can replicate this in the lab via CPU or disk throttling. I obse

Issue when creating a stream session

2022-12-14 Thread Natnael Adere
Hello, I am working on CASSANDRA-17199 and testing for this ticket has uncovered some issues with streaming. When creating a StreamSession we have an intent for to listen but that never happens. My concern is wether or not we should we li

Re: [DISCUSSION] New dependencies for SAI CEP-7

2022-12-14 Thread Mike Adamson
I have had a look at whether we could use the QuickTheories in our randomized testing and come to the following conclusions: Pros: 1) It has a very rich set of random generators out of the box. 2) It has a very powerful mechanism for generating customised randomized datasets. 3) It is very pluggab

Re: [DISCUSSION] New dependencies for SAI CEP-7

2022-12-14 Thread Benedict
I don’t believe we are ready to be prescriptive about how our randomised tests are written.1) We want as many people to write randomised tests as possible, so do not want to create impediments.2) We don’t, I expect, all agree on what a good randomised test looks like.I think Mike should include car

Re: [DISCUSSION] New dependencies for SAI CEP-7

2022-12-14 Thread Mike Adamson
Thanks for your detailed response to this. I am definitely not fixed on using carrot for this so am happy to look at a replacement. I wasn't aware of the addition of QuickTheories or CassandraGenerators. A combination of these could easily supply the functionality we need for the SAI testing. The G