You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Michael Semb Wever (Jira)" <ji...@apache.org> on 2024/05/21 20:08:00 UTC
[jira] [Commented] (CASSANDRA-12864) "commitlog_sync_batch_window_in_ms" parameter is not documented correctly
[ https://issues.apache.org/jira/browse/CASSANDRA-12864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17848377#comment-17848377 ]
Michael Semb Wever commented on CASSANDRA-12864:
------------------------------------------------
In addition, the page has a number of faults that should be corrected:
- the default is periodic,
- there's an odd '(Default Value: (complex option): ' section (maybe this is just asciidoc ?)
- the sentence "Any data written to Cassandra will first be written to a commit log before being written to a memtable." isn't strictly-speaking correct, the commitlog and the memtable happen in parallel…
And, it would be worthwhile if the page referenced, for more advanced info, this [blog post|https://cassandra.apache.org/_/blog/Learn-How-CommitLog-Works-in-Apache-Cassandra.html]
> "commitlog_sync_batch_window_in_ms" parameter is not documented correctly
> -------------------------------------------------------------------------
>
> Key: CASSANDRA-12864
> URL: https://issues.apache.org/jira/browse/CASSANDRA-12864
> Project: Cassandra
> Issue Type: Bug
> Components: Documentation
> Reporter: Hiroyuki Yamada
> Priority: Normal
>
> "commitlog_sync_batch_window_in_ms" doesn't seem to be working at least in the latest versions in 2.1.16, 2.2.8 and 3.9.
> Here is the way to reproduce the bug.
> 1. set the following parameters in cassandra.yaml
> * commitlog_sync: batch
> * commitlog_sync_batch_window_in_ms: 10000 (10s)
> 2. issue an insert from cqlsh
> 3. it immediately returns instead of waiting for 10 seconds.
> Please refer to the communication in the mailing list.
> http://www.mail-archive.com/user@cassandra.apache.org/msg49642.html
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org