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)
  • Loading branch information
mfleming authored and jacek-lewandowski committed Aug 31, 2021
1 parent 0d7bdd7 commit 6d5d3bb
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 @@ -633,7 +633,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 @@ -292,7 +292,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 6d5d3bb

Please sign in to comment.