Tag Info

New answers tagged

1

In looking through the documentation, I am having a hard time finding a reference for this, but the short answer is "yes" you need to run nodetool repair on each node in your cluster. The closest I can find is the documentation on repairing nodes which suggests that you should not run repair on more than one node in your cluster at a time. You can also run ...


1

In Cassandra you need to take a query-based modeling approach. In your case, I would create a similarly-structured query table like this: CREATE TABLE topicbyuser ( topic_id text, user_id text, event_time timestamp, data text, PRIMARY KEY (user_id,event_time), ) WITH CLUSTERING ORDER BY (event_time DESC); And then, if you wanted to ...



Top 50 recent answers are included