mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-06 06:21:16 +07:00
[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:
committed by
intellij-monorepo-bot
parent
50788f831e
commit
b1aad7c225
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user