[
https://issues.apache.org/jira/browse/HDDS-5843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bharat Viswanadham resolved HDDS-5843.
--------------------------------------
Fix Version/s: 1.2.0
Resolution: Fixed
> SCM terminates when adding container to a pipeline during startup
> -----------------------------------------------------------------
>
> Key: HDDS-5843
> URL: https://issues.apache.org/jira/browse/HDDS-5843
> Project: Apache Ozone
> Issue Type: Bug
> Components: SCM HA
> Reporter: Soumitra Sulav
> Assignee: Aswin Shakil Balasubramanian
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.2.0
>
>
> SCM terminates when a container in an OPEN state is added to a CLOSED
> pipeline during SCM startup.
> *Error:*
> {code:java}
> Cannot add container to
> pipeline=PipelineID=e7f7dc41-6005-4c8f-8249-f3b021492422 in closed state
> {code}
> *Cause:*
> Container Close happens after the Pipeline Close. The transaction buffer is
> flushed into SCM DB for every 1000 transactions, the pipeline close comes
> within the 1000 transaction and it is flushed to the SCM DB but before the
> Container Close is flushed into the SCM DB the SCM goes.
> When the SCM restarts it is in an inconsistent state where some containers
> are in an OPEN state for a CLOSED pipeline.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]