wozhenbang2004 commented on PR #11610:
URL: https://github.com/apache/rocketmq/pull/11610#issuecomment-7181953438

   Thanks for the review, @ShannonDing. I pushed `f4cb2ad` and a small 
follow-up in `cf0f0f5`. The refusal survives reconnects and restarts. The 
follow-up keeps the write fence and role changes under the same lock, and 
checks the recorded refusal before the follower does local HA cleanup.
   
   I ran a planned DLedger replica replacement and then restarted the new 
replica. It kept its new ID, the message contents and offsets still matched the 
source, and it picked up the next write. The retired store stayed unchanged. 
This was a planned replacement, not recovery after an unclean election.
   
   Would rebuilding under a new identity and keeping the original store offline 
satisfy the recovery requirement, or do you want the original replica to rejoin 
in place?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to