adoroszlai opened a new pull request, #8093: URL: https://github.com/apache/ozone/pull/8093
## What changes were proposed in this pull request? Multiple threads may create the VERSION file. After HDDS-12456 they use the same temporary file for `AtomicFileOutputStream`. ``` 2025-03-15 14:06:39,828 [1653fbbe-77b3-4beb-944f-f44f2eab0adb-EndpointStateMachineTaskThread-scm3.org/172.25.0.118:9861-0 ] INFO utils.DatanodeStoreCache: Added db /data/hdds/hdds/CID-b6cecacf-2a78-4270-850e-f7a04b3207d8/DS-b262fcfa-1d4c-4a05-b9b2-8c973ff80dd4/container.db to cache 2025-03-15 14:06:39,828 [1653fbbe-77b3-4beb-944f-f44f2eab0adb-EndpointStateMachineTaskThread-scm3.org/172.25.0.118:9861-0 ] INFO volume.HddsVolume: SchemaV3 db is created and loaded at /data/hdds/hdds/CID-b6cecacf-2a78-4270-850e-f7a04b3207d8/DS-b262fcfa-1d4c-4a05-b9b2-8c973ff80dd4/container.db for volume DS-b262fcfa-1d4c-4a05-b9b2-8c973ff80dd4 2025-03-15 14:06:39,835 [1653fbbe-77b3-4beb-944f-f44f2eab0adb-EndpointStateMachineTaskThread-scm4.org/172.25.0.120:9861-0 ] WARN util.FileUtils: Failed to Atomic Files.move /data/metadata/dnlayoutversion/VERSION.tmp to /data/metadata/dnlayoutversion/VERSION with options [REPLACE_EXISTING]: java.nio.file.NoSuchFileException: /data/metadata/dnlayoutversion/VERSION.tmp -> /data/metadata/dnlayoutversion/VERSION 2025-03-15 14:06:39,836 [1653fbbe-77b3-4beb-944f-f44f2eab0adb-EndpointStateMachineTaskThread-scm1.org/172.25.0.116:9861-0 ] WARN util.FileUtils: Failed to Atomic Files.move /data/metadata/dnlayoutversion/VERSION.tmp to /data/metadata/dnlayoutversion/VERSION with options [REPLACE_EXISTING]: java.nio.file.NoSuchFileException: /data/metadata/dnlayoutversion/VERSION.tmp -> /data/metadata/dnlayoutversion/VERSION 2025-03-15 14:06:39,836 [1653fbbe-77b3-4beb-944f-f44f2eab0adb-EndpointStateMachineTaskThread-scm2.org/172.25.0.117:9861-0 ] WARN util.FileUtils: Failed to Atomic Files.move /data/metadata/dnlayoutversion/VERSION.tmp to /data/metadata/dnlayoutversion/VERSION with options [REPLACE_EXISTING]: java.nio.file.NoSuchFileException: /data/metadata/dnlayoutversion/VERSION.tmp -> /data/metadata/dnlayoutversion/VERSION ``` https://issues.apache.org/jira/browse/HDDS-12608 ## How was this patch tested? CI: https://github.com/adoroszlai/ozone/actions/runs/13874311835 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
