[ https://issues.apache.org/jira/browse/IGNITE-25428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nikolay Izhikov updated IGNITE-25428: ------------------------------------- Description: While implementing IGNITE-24130 new class NodeFileTree introduced. It must keep all logic to deal with the file names and pathes for Ignite node. DefragmentationFileUtils class contains some logic to calculate file names and pathes. Let's migrate it to NodeFileTree. was: While implementing IGNITE-24130 new class NodeFileTree introduced. It must keep all logic to deal with the file names and pathes for Ignite node. CdcConsumerState class contains some logic to calculate file names and pathes: {code:java} walPtr = stateDir.resolve(WAL_STATE_FILE_NAME); tmpWalPtr = stateDir.resolve(WAL_STATE_FILE_NAME + TMP_SUFFIX); types = stateDir.resolve(TYPES_STATE_FILE_NAME); tmpTypes = stateDir.resolve(TYPES_STATE_FILE_NAME + TMP_SUFFIX); mappings = stateDir.resolve(MAPPINGS_STATE_FILE_NAME); tmpMappings = stateDir.resolve(MAPPINGS_STATE_FILE_NAME + TMP_SUFFIX); caches = stateDir.resolve(CACHES_STATE_FILE_NAME); tmpCaches = stateDir.resolve(CACHES_STATE_FILE_NAME + TMP_SUFFIX); cdcMode = stateDir.resolve(CDC_MODE_FILE_NAME); tmpCdcMode = stateDir.resolve(CDC_MODE_FILE_NAME + TMP_SUFFIX); {code} Let's migrate it to NodeFileTree. > Move DefragmentationFileUtils file logic to NodeFileTree > -------------------------------------------------------- > > Key: IGNITE-25428 > URL: https://issues.apache.org/jira/browse/IGNITE-25428 > Project: Ignite > Issue Type: Improvement > Reporter: Nikolay Izhikov > Priority: Major > Labels: ise > > While implementing IGNITE-24130 new class NodeFileTree introduced. > It must keep all logic to deal with the file names and pathes for Ignite node. > DefragmentationFileUtils class contains some logic to calculate file names > and pathes. > > Let's migrate it to NodeFileTree. -- This message was sent by Atlassian Jira (v8.20.10#820010)