[
https://issues.apache.org/jira/browse/HDDS-12829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Andika updated HDDS-12829:
-------------------------------
Summary: Cleanup uncommitted chunks during ContainerStateMachine#truncate
(was: Cleanup written chunks during ContainerStateMachine#truncate)
> Cleanup uncommitted chunks during ContainerStateMachine#truncate
> ----------------------------------------------------------------
>
> Key: HDDS-12829
> URL: https://issues.apache.org/jira/browse/HDDS-12829
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: Ozone Datanode
> Reporter: Ivan Andika
> Assignee: Ivan Andika
> Priority: Major
>
> Currently, ContainerStateMachine#truncate only remove in-memory write chunk
> data from stateMachineDataCache although ContainerStateMachine#write will
> write the chunks to the disk.
> We can add additional logic to ContainerStateMachine#truncate which will
> cleanup uncommitted chunks to reduce the orphan blocks / chunks in datanodes
> caused by INCONSISTENCY during writes. The cleanup can be done asynchronously
> in another thread and can be done in a best-effort basis.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]