You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Ivan Andika (Jira)" <ji...@apache.org> on 2024/05/18 14:26:00 UTC
[jira] [Updated] (HDDS-10875) XceiverRatisServer#getRaftPeersInPipeline should be called before XceiverRatisServer#removeGroup
[ https://issues.apache.org/jira/browse/HDDS-10875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ivan Andika updated HDDS-10875:
-------------------------------
Description:
From the https://issues.apache.org/jira/browse/HDDS-10750?focusedCommentId=17847435&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17847435 in HDDS-10750, it's found GroupMismatchException are thrown during the ClosePipelineCommandHandler
was:
From the https://issues.apache.org/jira/browse/HDDS-10750?focusedCommentId=17847435&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17847435 in HDDS-10750, it's found GroupMismatchException are thrown during the ClosePipelineCommandHandler
This is because getRaftPeersInPipeline throws GroupMismatchException when the Ratis group has been closed by earlier ClosePipelineCommand handled by another datanodes.
We can catch this GroupMismatchException instead of throwing it.
> XceiverRatisServer#getRaftPeersInPipeline should be called before XceiverRatisServer#removeGroup
> ------------------------------------------------------------------------------------------------
>
> Key: HDDS-10875
> URL: https://issues.apache.org/jira/browse/HDDS-10875
> Project: Apache Ozone
> Issue Type: Bug
> Components: DN
> Reporter: Ivan Andika
> Assignee: Ivan Andika
> Priority: Major
> Labels: pull-request-available
>
> From the https://issues.apache.org/jira/browse/HDDS-10750?focusedCommentId=17847435&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17847435 in HDDS-10750, it's found GroupMismatchException are thrown during the ClosePipelineCommandHandler
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org