Commit 55edc34
committed
CASSANDRA-21134: Enable background-write Direct I/O in cassandra_latest config
Add background_write_disk_access_mode: direct to cassandra_latest.yaml so
new-install/latest configurations exercise Direct I/O by default, and keep
the test latest config in sync (test/conf/latest_diff.yaml and the
DTEST_JVM_DTESTS_USE_LATEST block in InstanceConfig.java). The cassandra.yaml
default remains standard.
CQLTester.InMemory installs a global jimfs filesystem, which cannot do
Direct I/O (no FileStore.getBlockSize(), rejects ExtendedOpenOption.DIRECT),
so pin in-memory tests to buffered writes to keep the latest config green.1 parent 647ed4f commit 55edc34
5 files changed
Lines changed: 25 additions & 2 deletions
File tree
- conf
- src/java/org/apache/cassandra/config
- test
- conf
- distributed/org/apache/cassandra/distributed/impl
- unit/org/apache/cassandra/cql3
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
700 | 700 | | |
701 | 701 | | |
702 | 702 | | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
703 | 718 | | |
704 | 719 | | |
705 | 720 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1287 | 1287 | | |
1288 | 1288 | | |
1289 | 1289 | | |
1290 | | - | |
1291 | | - | |
| 1290 | + | |
1292 | 1291 | | |
1293 | 1292 | | |
1294 | 1293 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
49 | 51 | | |
50 | 52 | | |
51 | 53 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| 154 | + | |
| 155 | + | |
154 | 156 | | |
155 | 157 | | |
156 | 158 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3758 | 3758 | | |
3759 | 3759 | | |
3760 | 3760 | | |
| 3761 | + | |
| 3762 | + | |
| 3763 | + | |
| 3764 | + | |
| 3765 | + | |
3761 | 3766 | | |
3762 | 3767 | | |
3763 | 3768 | | |
| |||
0 commit comments