I spent some time in code (trunk) to understand it better. If I understood
it correctly DiskBoundaryManager.getDiskBoundaries() method does the
partition and it has nothing to do with the compaction strategy. Is it
correct?

cassandra.yaml states that "Directories where Cassandra should store data
on disk. Cassandra will spread data evenly across them, *subject to the
granularity of the configured compaction strategy.*". I feel it is not
correct anymore.  Is it worth updating the doc?



On Tue, Mar 27, 2018 at 9:59 PM, Jonathan Haddad <j...@jonhaddad.com> wrote:

> In Cassandra 3.2 and later, data is partitioned by token range, which
> should give you even distribution of data.
>
> If you're going to go into 3.x, please use the latest 3.11, which at this
> time is 3.11.2.
>
>
> On Tue, Mar 27, 2018 at 8:05 AM Venkata Hari Krishna Nukala <
> n.v.harikrishna.apa...@gmail.com> wrote:
>
>> Hi,
>>
>> I am trying to replace machines having HDD with little powerful machines
>> having SSD in production. The data present in each node is around 300gb.
>> But the newer machines have 2 X 200GB SSDs instead of a single disk.
>>
>> "data_file_directories" looks like a multi-valued config which I can use.
>> Am I looking at the right config?
>>
>> How does the data is distributed evenly? Leveled Compaction Strategy is
>> used for the tables.
>>
>> Thanks!
>>
>

Reply via email to