Re: Simulating Read and WriteTimeouts programatically

2017-07-06 Thread Jeff Jirsa
On 2017-07-06 10:08 (-0700), "Charulata Sharma (charshar)" wrote: > An easier way to raise the ReadTimeOut and WriteTimeOutExceptions > programmatically and then test. However, I haven't had much success . > http://www.scassandra.org/ "Stubbed Cassandra is an open

Re: Simulating Read and WriteTimeouts programatically

2017-07-06 Thread Nitan Kainth
You can set timeout value in cqlshrc file. But you will have to overload the cluster to take these into effect. Sent from my iPhone > On Jul 6, 2017, at 10:08 AM, Charulata Sharma (charshar) > wrote: > > Hi All, > > Recently I learnt that in C* driver versions

Simulating Read and WriteTimeouts programatically

2017-07-06 Thread Charulata Sharma (charshar)
Hi All, Recently I learnt that in C* driver versions 3.1.x and up, there is a change in retry. If the query statement is not idempotent, there won't be any retry and by default the queries are considered to be non idempotent. Hence, even though Retry policy is mentioned while setting up the C*