[
https://issues.apache.org/jira/browse/HDDS-7829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HDDS-7829:
---------------------------------
Labels: pull-request-available (was: )
> 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
> Labels: pull-request-available
>
> 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: [email protected]
For additional commands, e-mail: [email protected]