【问题标题】:Does etcd store its key-value data directly in the Raft log?etcd 是否将其 key-value 数据直接存储在 Raft 日志中?
【发布时间】:2020-10-28 01:00:14
【问题描述】:

我知道 etcd 使用 Raft 协议来实现多个节点之间的共识。 Raft 通常表现为将数据作为键值对存储在复制的日志中; etcd 是直接将其键值数据存储在那个 Raft 日志中,还是在 Raft 日志和 etcd 的数据存储之间存在某种抽象/间接?

【问题讨论】:

    标签: key-value etcd raft


    【解决方案1】:

    间接是StateMachine.

    etcd 看起来正在使用bbolt-db 作为其存储管理器;见the source

    【讨论】:

      猜你喜欢
      • 2019-11-10
      • 2021-06-26
      • 2015-08-22
      • 1970-01-01
      • 2016-08-20
      • 2012-01-08
      • 2012-06-09
      • 1970-01-01
      • 2021-07-23
      相关资源
      最近更新 更多