fpj | 5 years ago | on: Spain to implement 4-day work week in response to Covid-19
fpj's comments
fpj | 5 years ago | on: Title of Elon Musk Has Changed to Technoking of Tesla
fpj | 5 years ago | on: Users may be unable to connect or experiencing degraded performance
fpj | 5 years ago | on: Fast, consistent, durable and scalable streaming data with Pravega
fpj | 10 years ago | on: Distributed consensus reloaded: ZooKeeper and replication in Kafka
It does both, it first proposes by writing a sequential znode and then reads the children (all proposals are written under some parent znode). This is certainly assuming some experience with ZK, and I wonder if that's the problem. It was not the goal to go into a discussion of the ZooKeeper API, but I'm happy to clarify if this is what is preventing you from getting the point.
>> Not suppose to ? How do you ensure that ?
It is not supposed to in the sense that if this is implemented right, then the proposed values for each client won't change. The recipe guarantees it because it assumes that each client writes just once.
>> Sorry, but I fail to see what recipe you speak about.
I'm referring to these three steps: creating a sequential znode under a known parent, reading the children, picking the value in the znode with smallest sequence number.
fpj | 10 years ago | on: Distributed consensus reloaded: ZooKeeper and replication in Kafka
fpj | 10 years ago | on: Distributed consensus reloaded: ZooKeeper and replication in Kafka
fpj | 10 years ago | on: Distributed consensus reloaded: ZooKeeper and replication in Kafka
fpj | 10 years ago | on: Distributed consensus reloaded: ZooKeeper and replication in Kafka
If I understand your comment correctly, it isn't the case that the ISR is fixed. The ISR has a minimum size, but it can change over time, so brokers can be removed from the ISR and they can rejoin later once they catch up.
fpj | 10 years ago | on: Distributed consensus reloaded: ZooKeeper and replication in Kafka
fpj | 10 years ago | on: Distributed consensus reloaded: ZooKeeper and replication in Kafka