Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Parent Jira to track tasks related to using filesystem mv to make changes to containers atomically without polluting the main container directory that datanodes require to be in a consistent state. The proposal is one tmp directory per volume located at hdds/<clusterID>/tmp which would hold files and directories under construction. They would then be moved to the working directory on completion using mv. The tmp directory would have subdirectories for each task, for example hdds/<clusterID>/tmp/container-copy, hdds/<clusterID>/tmp/container-create etc. These directories could be cleaned out on restart or as needed.