WAL fsync mode to the public API

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

WAL fsync mode to the public API

dmagda
Alex G., Igniters,

Why do we hide WAL fsync modes in the internals of FileWriteAheadLogManager?


private enum Mode {
    NONE, LOG_ONLY,

    /**
     * Write is performed periodically, initiated by background thread,
     * calls to {@link IgniteWriteAheadLogManager#fsync(org.apache.ignite.internal.pagemem.wal.WALPointer)} have no effect.
     * Using this mode will decrease persistence reliability for performance
     */
    BACKGROUND, DEFAULT
}
Can we move it to the public PersistentStoreConfiguration?


Denis