Ivan Andika created HDDS-12829:
----------------------------------
Summary: Cleanup written 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
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 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]