THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- Set message.format.version=0.10.0 on one of the brokers (broker B).
- Broker B will start to act like what described in phase 2.
- It will send FetchRequest V2 to other brokers for replication.
- When it sees FetchRequest V2 from other brokers and clietns, it will use zero copy
- When it sees It will only see ProduceRequest/ FetchRequest V1 from other brokers and clietns.clients, it will NOT use zero copy but do down-conversion
- If something goes wrong, we can do the following to rollback:
- shutdown broker B
- nuke the data of the topics it was serving as leader before shutdown
- set message.format.version=0.9.0
- restart the broker to let the broker replicate from leaders. At this point the data on disk will be in MessageAndOffset V0.
- shutdown broker B
...