美文网首页
tanslog 的安全性

tanslog 的安全性

作者: 良人与我 | 来源:发表于2019-08-11 22:25 被阅读0次

    index.translog.durability

    配置是否每次提交都同步到磁盘。

    request

    (default) fsync and commit after every request. In the event of hardware failure, all acknowledged writes will already have been committed to disk.
    默认采用此配置所有的请求都会被记录到trans log 并落地到磁盘,当出现故障后 都可以通过trans log 恢复过来。

    async

    如果配置为 异步方式 就有可能丢失上次提交到故障期间的数据。

    参考地址
    https://www.elastic.co/guide/en/elasticsearch/reference/7.3/index-modules-translog.html

    https://www.elastic.co/guide/cn/elasticsearch/guide/cn/translog.html

    相关文章

      网友评论

          本文标题:tanslog 的安全性

          本文链接:https://www.haomeiwen.com/subject/hirejctx.html