Testing RATIS-2162 #1154 over release-3.1.1. by szetszwo · Pull Request #1157 · apache/ratis

@szetszwo

For testing #1154 over release-3.1.1.

@szetszwo

@szetszwo szetszwo changed the title RATIS-2162. When closing leaderState, if the logAppender thread sends a snapshot, a deadlock may occur. () For testing RATIS-2162 #1154 over release-3.1.1.

Sep 29, 2024

@szetszwo szetszwo changed the title For testing RATIS-2162 #1154 over release-3.1.1. Testing RATIS-2162 #1154 over release-3.1.1.

Sep 29, 2024

@szetszwo

@133tosakarin , misc unit test also failed here. Please take a look. Thanks.

@133tosakarin

@133tosakarin , misc unit test also failed here. Please take a look. Thanks.

@133tosakarin , misc unit test also failed here. Please take a look. Thanks.

Sze, thank you for helping to test, I will continue to investigate RATIS-2162.

@133tosakarin

@szetszwo

image

I found that the failure of mics occurred in simulateRpc because logAppenderDaemon s9 was blocked waiting for rpc reply.

This problem seems to be unstable recurrence, and I have tried many times locally without triggering it.

@szetszwo

Let's rerun it here to see if it can be reproduced.

@133tosakarin

Let's rerun it here to see if it can be reproduced.

Sze, thank you for continuing to follow this PR, misc has passed.

In addition, I found that the reason why logAppender s9 continues to block is that this FileChannel cannot be created. Other logAppenders that are working normally have already created FileChannels.

image

@szetszwo

@github-actions

This PR has been marked as stale due to 60 days of inactivity. Please comment or remove the stale label to keep it open. Otherwise, it will be automatically closed in ~30 days.