mini666 commented on PR #8380:
URL: https://github.com/apache/hbase/pull/8380#issuecomment-4761296417

   Thanks for the review.
   
   I added a follow-up commit to handle the cross-target-RS retry case. The 
sink now coordinates replicated bulkload WAL events through ZooKeeper using 
in-progress and completed markers, so a retry sent to a different target region 
server can observe that the same bulkload event has already completed and skip 
reloading the HFiles.
   
   I also added a master-side chore to clean expired completed markers, while 
keeping them if a matching in-progress marker still exists.
   
   For coverage, I added unit tests for the ZooKeeper event tracker and cleanup 
chore, a sink-level completed-marker skip test, and a MiniCluster test that 
replays the exact same bulkload WAL batch first through one target RS sink and 
then through another target RS sink.
   
   I verified the change with the focused bulkload replication tests, including 
the new cross-target-RS retry MiniCluster test. The run passed with 13 tests, 0 
failures, 0 errors, and 0 skipped.


-- 
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