chihsuan opened a new pull request, #12122:
URL: https://github.com/apache/ozone/pull/12122

   ## What changes were proposed in this pull request?
   
   The test stops a datanode and expects the client to exclude only that 
datanode. Sometimes it stops a datanode that was just restarted and is the 
preferred leader of the pipeline. The Ratis leader then keeps trying to hand 
leadership to it and rejects writes meanwhile, so the client excludes the whole 
pipeline.
   
   The root cause is in Ratis, and I reported it in RATIS-2830. Until that is 
fixed, this patch works around it in the test. It turns off preferred leaders, 
so the leader never tries to hand over leadership.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-13972
   
   ## How was this patch tested?
   
   - Local repro: 4/10 runs failed before the fix, 0/10 after.
   - 10x10 
[flaky-test-check](https://github.com/chihsuan/ozone/actions/runs/44925874342) 
for the whole class: passed 100/100 (master: [7/100 
failed](https://github.com/chihsuan/ozone/actions/runs/44900047919)).
   - Fork CI: 
[build-branch](https://github.com/chihsuan/ozone/actions/runs/44925866381).
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to