我知道HBase中的复制是通过只附加日志文件来完成的,为了保持与master中相同的条目顺序,以便复制到slave的WAL,我认为必须有一些共识协议。它是如何设计的,以至于没有任何共识协议?
By ordering for example, update a boolean column to true & then false. If updates are written to replica's wal files in reverse the final state could be true instead of false.
Hbase使用主/辅助架构,其中只有主架构接收请求,因此可以在没有共识协议的情况下实现一致性,因为所有写入都在一个地方。
你的问题类似于问为什么postgres不使用共识协议?Postgres还有一个主要/次要类型的复制机制