THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
To protect against this eventuality the controller will maintain a cached mapping of [broker -> Zookeeper CZXID] (CZXID is a unique and monotonic 64-bit number) for the broker’s registration in Zookeeper (/brokers/ids/[brokerId]). If the controller , if the controller receives a Broker Registration where the CZXID has changed it will increment the Leader Epoch and propagate that value to the broker via the Leader and ISR Request (in the normal way), then update the cached CZXID for that broker.. This mechanism must also be sensitive to the bug:
Jira | ||||||
---|---|---|---|---|---|---|
|
Maintaining the LeaderGenerationSequenceFile
...