Re: Cassandra failure during read query at consistency QUORUM (2 responses were required but only 0 replica responded, 2 failed)

2016-10-30 Thread Denis Mikhaylov
Why does it prevent quorum? How to fix it? > On 28 Oct 2016, at 16:02, Edward Capriolo wrote: > > This looks like another case of an assert bubbling through try catch that > don't catch assert > > On Fri, Oct 28, 2016 at 6:30 AM, Denis Mikhaylov wrote: > Hi! >

Cassandra failure during read query at consistency QUORUM (2 responses were required but only 0 replica responded, 2 failed)

2016-10-28 Thread Denis Mikhaylov
Hi! We’re running Cassandra 3.9 On the application side I see failed reads with this exception com.datastax.driver.core.exceptions.ReadFailureException: Cassandra failure during read query at consistency QUORUM (2 responses were required but only 0 replica responded, 2 failed) On the server s

Re: Help on temporal data modeling

2016-09-23 Thread Denis Mikhaylov
ry it > without having to resort to materialized views and secondary indexes. If you > really want to index it, use Solr or buy a license of DSE. The temporal > database I built on top of Cassandra uses Solr, which gives me greater > flexibility and control over indexes and quer

Help on temporal data modeling

2016-09-23 Thread Denis Mikhaylov
Hi! I have question regarding data modelling. Let’s say that I have `subscriptions` table with two columns `subscription_id text` and `next_billing_date timestamp`. How do I model a table to efficiently query all subscriptions due today (something like `where next_billing_date <= today`)