随笔分类 - Zookeeper
摘要:public enum ServerState { // 初始状态 LOOKING, FOLLOWING, LEADING, // 不参与选举 OBSERVING } /** * (Used for monitoring) shows the current phase of * Zab proto
阅读全文
摘要:ACID 原子性 一致性 一个事务在执行之前和执行之后,数据库都必须处于一致性状态。 隔离性 持久性 分布式事务 CAP 只能在一致性和可用性之间平衡 一致性 可用性 分区容错性 BASE Basicially Available(基本可用) 系统在出现不可预知的故障时,允许损失部分可用性 响应时间
阅读全文
摘要:LearnerHandler There will be an instance of this class created by the Leader for each learner. All communication with a learner is handled by this cla
阅读全文

浙公网安备 33010602011771号