[
https://issues.apache.org/jira/browse/CASSANDRA-9533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14569489#comment-14569489
]
Jonathan Ellis commented on CASSANDRA-9533:
-------------------------------------------
It's pretty clear that the new behavior is worse for most users. I thought we
did it that way because we don't have a queue of operations to peek into
anymore, so it's difficult to provide the old behavior of "stop sleeping when
the queue is empty."
Strictly speaking the new behavior matches the comment *less* well since the
comment said {{it will wait *up to*}} the window, which is in fact what it did.
The new behavior waits *at least* the window.
> Make batch commitlog mode easier to tune
> ----------------------------------------
>
> Key: CASSANDRA-9533
> URL: https://issues.apache.org/jira/browse/CASSANDRA-9533
> Project: Cassandra
> Issue Type: Improvement
> Reporter: Jonathan Ellis
> Assignee: Benedict
> Fix For: 3.x
>
>
> As discussed in CASSANDRA-9504, 2.1 changed commitlog_sync_batch_window_in_ms
> from a maximum time to wait between fsync to the minimum time, so one must be
> very careful to keep it small enough that most writers aren't kept waiting.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)