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

   CompressedSequentialWriter rebuilt its SequentialWriterOption but copied 
only bufferSize/bufferType/finishOnClose, dropping trickleFsync and 
trickleFsyncByteInterval. Compression is the default, so trickle_fsync had no 
effect on SSTable data files: SequentialWriter.doFlush never reached the 
interval sync. Carry the two fields through the rebuild.
   
   Add tests asserting the full option-rebuild contract (caller knobs pass 
through, buffer sizing follows the compression layout) and that the interval 
sync actually fires while writing compressed data.
   
   https://issues.apache.org/jira/browse/CASSANDRA-21487
   
   patch by Sam Lightfoot; reviewed by for 
[CASSANDRA-21487](https://issues.apache.org/jira/browse/CASSANDRA-21487)


-- 
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