adoroszlai opened a new pull request, #994: URL: https://github.com/apache/ratis/pull/994
## What changes were proposed in this pull request? Assign local address to new peers being added to the cluster. https://issues.apache.org/jira/browse/RATIS-1942 ## How was this patch tested? Compared 10x10 runs of `TestRetryCacheWithGrpc` with and without the patch. without patch: 13/100 failures, 10/13 failure logs had `STARTING -> STARTING`: https://github.com/adoroszlai/ratis/actions/runs/7199041920 ``` $ rg -c 'STARTING -> STARTING' | sort -g 1/iteration2/ratis-test/org.apache.ratis.grpc.TestRetryCacheWithGrpc-output.txt:1223 2/iteration1/ratis-test/org.apache.ratis.grpc.TestRetryCacheWithGrpc-output.txt:1457 2/iteration3/ratis-test/org.apache.ratis.grpc.TestRetryCacheWithGrpc-output.txt:1284 2/iteration9/ratis-test/org.apache.ratis.grpc.TestRetryCacheWithGrpc-output.txt:1374 3/iteration7/ratis-test/org.apache.ratis.grpc.TestRetryCacheWithGrpc-output.txt:1190 6/iteration10/ratis-test/org.apache.ratis.grpc.TestRetryCacheWithGrpc-output.txt:1215 9/iteration6/ratis-test/org.apache.ratis.grpc.TestRetryCacheWithGrpc-output.txt:1448 9/iteration8/ratis-test/org.apache.ratis.grpc.TestRetryCacheWithGrpc-output.txt:1440 10/iteration1/ratis-test/org.apache.ratis.grpc.TestRetryCacheWithGrpc-output.txt:1507 ``` with patch, no `STARTING -> STARTING`: https://github.com/adoroszlai/ratis/actions/runs/7198991194 CI: https://github.com/adoroszlai/ratis/actions/runs/7198887876 -- 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]
