You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2023/08/25 15:52:00 UTC

[jira] [Resolved] (RATIS-1350) A raftgroup initraftlog fails due to raftlog disk error

     [ https://issues.apache.org/jira/browse/RATIS-1350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz-wo Sze resolved RATIS-1350.
-------------------------------
    Resolution: Won't Fix

Ratis implements the RAFT algorithm, which can tolerate disk error by running multiple servers in a Raft group. By design, if there is a disk error a server, the server should stop. It is correct to throw an exception in the code. Resolving this as "Won't Fix".

> A raftgroup initraftlog fails due to raftlog disk error
> -------------------------------------------------------
>
>                 Key: RATIS-1350
>                 URL: https://issues.apache.org/jira/browse/RATIS-1350
>             Project: Ratis
>          Issue Type: Bug
>            Reporter: cchenaxchen
>            Assignee: cchenaxchen
>            Priority: Major
>
> java.io.IOException: java.lang.IllegalStateException
>         at org.apache.ratis.util.IOUtils.asIOException(IOUtils.java:54)
>         at org.apache.ratis.util.IOUtils.toIOException(IOUtils.java:61)
>         at org.apache.ratis.util.IOUtils.getFromFuture(IOUtils.java:71)
>         at org.apache.ratis.server.impl.RaftServerProxy.getImpls(RaftServerProxy.java:301)
>         at org.apache.ratis.server.impl.RaftServerProxy.start(RaftServerProxy.java:318)
>         at org.apache.hadoop.ozone.container.common.transport.server.ratis.XceiverServerRatis.start(XceiverServerRatis.java:461)
>         at org.apache.hadoop.ozone.container.ozoneimpl.OzoneContainer.start(OzoneContainer.java:242)
>         at org.apache.hadoop.ozone.container.common.states.endpoint.VersionEndpointTask.call(VersionEndpointTask.java:112)
>         at org.apache.hadoop.ozone.container.common.states.endpoint.VersionEndpointTask.call(VersionEndpointTask.java:41)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>         at java.lang.Thread.run(Thread.java:748)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)