nivykani opened a new pull request, #4940:
URL: https://github.com/apache/cassandra/pull/4940

   In DatabaseDescriptor:1132, the exception states: 
`compressed_read_ahead_buffer_size must be at least 256KiB (set to 0 to 
disable)`. But, if an operator ever later tries to disable the buffer by 
following this message and setting sizeInKb to 0, 
`setCompressedReadAheadBufferSizeInKb()` will throw an error that sizeInKb < 
256. 
   
   This PR explicitly allows a value of 0 in 
setCompressedReadAheadBufferSizeInKb (I’ve traced that 0 is handled in every 
other place that reads this value). 
   
   The [Cassandra Jira](https://issues.apache.org/jira/browse/CASSANDRA-21522)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to