ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denis Magda <dma...@apache.org>
Subject WAL fsync mode to the public API
Date Thu, 01 Jun 2017 00:51:59 GMT
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
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message