8k for non-compressed files:

https://github.com/apache/cassandra/blob/8b3a60b9a7dbefeecc06bace617279612ec7092d/src/java/org/apache/cassandra/io/util/ChecksummedSequentialWriter.java#L27
/
https://github.com/apache/cassandra/blob/8b3a60b9a7dbefeecc06bace617279612ec7092d/src/java/org/apache/cassandra/io/util/SequentialWriterOption.java#L106

For compressed files, it's the chunk_length_kb compression parameter

https://github.com/apache/cassandra/blob/8b3a60b9a7dbefeecc06bace617279612ec7092d/src/java/org/apache/cassandra/io/compress/CompressedSequentialWriter.java#L85




On Mon, Sep 25, 2017 at 10:25 PM, Tyagi, Preetika <preetika.ty...@intel.com>
wrote:

> Hi all,
>
> Does anyone know the size of each chunk/block while appending it with a
> checksum when writing to the disk in Cassandra? Is it the standard 512
> bytes or it varies?
>
> Thanks,
> Preetika
>
>

Reply via email to