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

Uma Maheswara Rao G updated HDDS-12305:
---------------------------------------
    Summary: Avoid marking container as DELETED if it was due to EMPTY with 
BCSID=0 containers  (was: Avoid marking container as DELETED if it was due to 
deletion of BCSID=0 containers)

> Avoid marking container as DELETED if it was due to EMPTY with BCSID=0 
> containers
> ---------------------------------------------------------------------------------
>
>                 Key: HDDS-12305
>                 URL: https://issues.apache.org/jira/browse/HDDS-12305
>             Project: Apache Ozone
>          Issue Type: Bug
>            Reporter: Uma Maheswara Rao G
>            Priority: Major
>
> BCSID=0 means, there might be some errors in apply transaction. When first 
> writing chunk only we will create containers. By default, BCSID will be 0. As 
> applyTransactions played, this BCSID will keep getting incremented. A 
> container being reported with BCSID=0 means, either node failed right after 
> creating the container or failed to apply the transaction.
> It may be a safe check to make SCM not to mark the whole container as DELETED 
> based on EMPTY BSCID=0 container reports from SCMs.  Instead, we can just 
> delete only that specific replica.
> In one of the offline discussions, @Tsz Sze brought up this point. Not to 
> lose track of this point, log the Jira here. Let's discuss if there are other 
> cases to take care of it.
> [~sodonnell] [~siddhant] [~sumitagrawal] [~swamirishi] 



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