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

Peter Lee reassigned HDDS-12237:
--------------------------------

    Assignee: Peter Lee

> SCM should not close QUASI_CLOSED containers on majority quorum
> ---------------------------------------------------------------
>
>                 Key: HDDS-12237
>                 URL: https://issues.apache.org/jira/browse/HDDS-12237
>             Project: Apache Ozone
>          Issue Type: Bug
>            Reporter: Swaminathan Balachandran
>            Assignee: Peter Lee
>            Priority: Major
>
> When there are 2 replicas belonging to different origin id(2 different origin 
> datanodeIds where the data was first created) in QUASI_CLOSED state. SCM 
> assumes that there is majority quorum and ends up closing the container with 
> a higher bcsid(both if they are equal). This is wrong since this would be 
> only true if the transactions have been applied to 2 datanodes but ratis only 
> guarantees the transaction would be committed to one of the follower raft log 
> and applied on leader. There is no guarantee for follower apply transactions.
> SCM should close QUASI_CLOSED containers only when all replicas belonging to 
> different origin id are present and not just the majority of the replicas. It 
> can also close a QUASI_CLOSED container when there is a CLOSED container 
> replica reported and the bcsid of the QUASI_CLOSED container matches the 
> CLOSED container.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to