Re: Question about the num_tokens

2021-04-28 Thread onmstester onmstester
Some posts/papers discusses this in more detail. for example the one from thelastpickle: https://thelastpickle.com/blog/2019/02/21/set-up-a-cluster-with-even-token-distribution.html Which says: Using statistical computation, the point where all clusters of any size always had a good token

Re: counter cache loading very slow

2021-04-28 Thread Gil Ganz
I can see the amount of time from last log before counter cache loading message is very long ,and it also says so in the log. INFO [pool-5-thread-1] 2021-04-25 09:56:56,849 AutoSavingCache.java:174 - Completed loading (2602567 ms; 1277885 keys) CounterCache cache I didn't have a chance to test

Cassandra doesn't flush any commit log files into cdc_raw directory

2021-04-28 Thread Bingqin Zhou
Hi all, We're working on a Kafka connector to capture data changes in Cassandra by processing commit log files in the cdc_raw directory. After we enabled CDC on a few tables, we didn't observe any commit log files getting flushed into cdc_raw directory as expected, but got WriteTimeoutException

tablehistogram shows high sstables

2021-04-28 Thread Ayub M
The table has 24 sstables with size tiered compaction, when I run nodetool tablehistograms I see 99% percentile of the queries are showing up 24 as the number of sstables. But the read latency is very low, my understanding from the tableshistograms's sstable column is - it shows how many sstables

Re: Question about the num_tokens

2021-04-28 Thread Jai Bheemsen Rao Dhanwada
Thank you, Is there a specific reason why Cassandra4.0 recommends to use 16 tokens? On Tue, Apr 27, 2021 at 11:11 PM Jeff Jirsa wrote: > > > On Apr 27, 2021, at 10:47 PM, Jai Bheemsen Rao Dhanwada < > jaibheem...@gmail.com> wrote: > >  > Hello, > > I am currently using num_tokens: 256 in my

Re: Question about the num_tokens

2021-04-28 Thread Jeff Jirsa
> On Apr 27, 2021, at 10:47 PM, Jai Bheemsen Rao Dhanwada > wrote: > >  > Hello, > > I am currently using num_tokens: 256 in my cluster with the version 3.11.6 > and when I looked at the Cassandra4.0 I see the num_tokens set to 16. > > Is there a specific reason for changing the default

Re: Cassandra 4.0 and python

2021-04-28 Thread Kane Wilson
No, I suspect the deb package dependencies haven't been updated correctly, as 2.7 should definitely still work. Could you raise a JIRA for this issue? Not sure if apt has some way to force install/ignore dependencies, however if you do that it may work, otherwise your only workaround would be to

Cassandra 4.0 and python

2021-04-28 Thread Paul Chandler
Hi all, We have been testing with 4.0~beta2 in our setup for a few weeks and all has gone very smoothly, however when tried to install 4.0~rc1 we ran into problems with python versions. We are on Ubuntu 16.04.7 LTS so use apt to install Cassandra, and this now gives the following error: The