[indexes] IJPL-244924: disable write-ahead-log for phase#1

+ Phase 1 of WAL rollout: merge to master in disabled state
+ `-Dindexes.use-write-ahead-log=persistent` to enable

GitOrigin-RevId: fe06bd0bddcb4252a7db47af38458d8cdde0e497
This commit is contained in:
Ruslan Cheremin
2026-05-28 16:14:43 +00:00
committed by intellij-monorepo-bot
parent 50788f831e
commit b1aad7c225
@@ -256,7 +256,7 @@ private val VIA_CHANNELS_CACHE_FILE_WRITER = ToFileWriter { path: Path, offsetIn
}
/** Valid values: `null, 'disabled', 'in-memory' (for debug), 'persistent'` */
private val USE_WRITE_AHEAD_LOG = System.getProperty("indexes.use-write-ahead-log", "persistent")
private val USE_WRITE_AHEAD_LOG = System.getProperty("indexes.use-write-ahead-log", "disabled")
//The WAL is opened but never closed -- because currently there is no clear lifecycle ownership for the WAL.
// It is hard to pinpoint the trigger for 'WAL is not needed anymore and can be closed': WAL lifespan should