THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
The existing AlterReplicaLogDirs
RPC is sent directly to the broker in question, which starts moving the replicas using a AlterReplicaLogDirs
threads – ReplicaAlterLogDirsThread
– this remains unchanged. But when the future replica first catches up with the main replica, instead of immediately promoting the future replica, the broker will:
- Asynchronously communicate the log directory change to the controller using the new RPC –
AssignReplicasToDirs
. - Keep the
AlterReplicaLogDirs
thread goingReplicaAlterLogDirsThread
going. The future replica is still the future replica, and it continues to copy from the main replica – which still in the original log directory – as new records are appended.
...