RATIS-1375. Handle bad storage dir due to disk failures.#477
RATIS-1375. Handle bad storage dir due to disk failures.#477szetszwo merged 1 commit intoapache:masterfrom
Conversation
|
Hello @szetszwo @runzhiwang , I'm new to ratis, could you help review this one when you are free? Thanks~ |
szetszwo
left a comment
There was a problem hiding this comment.
@guihecheng , thanks a lot for working on this. Some comments inlined.
ratis-server/src/main/java/org/apache/ratis/server/impl/ServerState.java
Show resolved
Hide resolved
ratis-server/src/main/java/org/apache/ratis/server/impl/ServerState.java
Outdated
Show resolved
Hide resolved
ratis-server/src/main/java/org/apache/ratis/server/impl/ServerState.java
Show resolved
Hide resolved
|
@szetszwo updated thanks~ |
szetszwo
left a comment
There was a problem hiding this comment.
+1 the change looks good.
Will wait for the Jenkins build results.
|
@szetszwo oh, sorry for the style problem, will fix it. |
### What changes are proposed in this pull request? Fix the job server service hangs on when set alluxio.master.journal.folder a no privileged path. ### Why are the changes needed? Fix the job server service hangs on when set alluxio.master.journal.folder a no privileged path. Because of ratis's bug. See this pr `https://github.com/apache/ratis/pull/477`. ### Does this PR introduce any user facing changes? No pr-link: #13906 change-id: cid-628bfd3a1c912650ae874406d0a3e9a6bdba3be8
What changes were proposed in this pull request?
Handle bad storage dir due to disk failures.
This includes a small fix for the remove behavior of the directories list.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/RATIS-1375
How was this patch tested?
manual tests