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

Aswin Shakil Balasubramanian updated HDDS-5843:
-----------------------------------------------
    Description: 
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.

  was:
SCM terminates when a container is 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 the before the 
Container Close is flushed into the SCM DB the SCM goes. When the SCM restarts 
it is in an inconsistent state where the Conatainers a


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

Reply via email to