Rishabh Patel created HDDS-17908:
------------------------------------

             Summary: Do not remove deleted containers from Witness DB
                 Key: HDDS-17908
                 URL: https://issues.apache.org/jira/browse/HDDS-17908
             Project: Apache Ozone
          Issue Type: Bug
            Reporter: Rishabh Patel
            Assignee: Rishabh Patel


A datanode creates a container replica when a client first writes to a 
non-existing container. Today, deleting a replica also removes its Witness DB 
entry. A client that holds a stale but valid allocated block can send a late 
write after that container deletion. The datanode then treats the container as 
new and recreates an empty replica containing only the newer data. Subsequent 
replication can spread these malformed containers.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

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

Reply via email to