Skip to content

Commit

Permalink
STAR-674: Enable trickle_fsync by default like DSE
Browse files Browse the repository at this point in the history
(cherry picked from commit fc60821)
(cherry picked from commit d518098)
(cherry picked from commit 6d5d3bb)
  • Loading branch information
mfleming authored and jacek-lewandowski committed Apr 19, 2022
1 parent d3fe3d3 commit c14ba2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion conf/cassandra.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ index_summary_resize_interval_in_minutes: 60
# buffers. Enable this to avoid sudden dirty buffer flushing from
# impacting read latencies. Almost always a good idea on SSDs; not
# necessarily on platters.
trickle_fsync: false
trickle_fsync: true
trickle_fsync_interval_in_kb: 10240

# TCP port, for commands and data
Expand Down
2 changes: 1 addition & 1 deletion src/java/org/apache/cassandra/config/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ public class Config
public ParameterizedClass hints_compression;

public volatile boolean incremental_backups = false;
public boolean trickle_fsync = false;
public boolean trickle_fsync = true;
public int trickle_fsync_interval_in_kb = 10240;

public volatile int sstable_preemptive_open_interval_in_mb = 50;
Expand Down

0 comments on commit c14ba2b

Please sign in to comment.