You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Duong (Jira)" <ji...@apache.org> on 2023/01/25 18:40:00 UTC

[jira] [Assigned] (HDDS-7829) SCM to reject adding container to closed pipeline

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

Duong reassigned HDDS-7829:
---------------------------

    Assignee: Duong

> SCM to reject adding container to closed pipeline
> -------------------------------------------------
>
>                 Key: HDDS-7829
>                 URL: https://issues.apache.org/jira/browse/HDDS-7829
>             Project: Apache Ozone
>          Issue Type: Bug
>            Reporter: Duong
>            Assignee: Duong
>            Priority: Major
>
> This is a correction of the fix for "SCM terminates when adding containers to a closed pipeline" in HDDS-7738.
> In general, due to the lack of atomicity and the fact that SCM status can change between transactions, SCM should define an expected precondition for each transaction it processes and reject the transaction gracefully if the condition is not met.
> For example, when processing a transaction adding a container, SCM expects the associated pipeline to be in an OPEN state and rejects the container creation if the pipeline is CLOSED.
>  
> This ticket focuses on correcting HDDS-7738, but also builds the basic exception handling in SCM Ratis's applyTraction to allow logical rejections. 



--
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