[ 
https://issues.apache.org/jira/browse/CASSANDRA-14580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16551549#comment-16551549
 ] 

Jason Brown commented on CASSANDRA-14580:
-----------------------------------------

Trivial patch to make the field configurable via the yaml:

||blockWhenSyncLagsNanos||
|[branch|https://github.com/jasobrown/cassandra/tree/pcls-blockWhenSyncLagsNanos]|
|[utests & 
dtests|https://circleci.com/gh/jasobrown/workflows/cassandra/tree/pcls-blockWhenSyncLagsNanos]|
||


> Make PeriodicCommitLogService.blockWhenSyncLagsNanos configurable
> -----------------------------------------------------------------
>
>                 Key: CASSANDRA-14580
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14580
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jason Brown
>            Assignee: Jason Brown
>            Priority: Minor
>             Fix For: 4.0
>
>
> When using the default values for periodic commitlog, the sync is every ten 
> seconds and if there's a lad in flushing to disc, we can block for up to 15 
> seconds (sync time * 1.5). However, if you lower the sync time to 1 second, 
> for example, the block time is only 1.5 seconds (not acceptable in all 
> situations). Admittedly this is only an expert-level setting, but useful in 
> some cases.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to