Semyon Danilov created IGNITE-12994:
---------------------------------------

             Summary: Move binary metadata to PDS storage folder
                 Key: IGNITE-12994
                 URL: https://issues.apache.org/jira/browse/IGNITE-12994
             Project: Ignite
          Issue Type: Improvement
            Reporter: Semyon Danilov
            Assignee: Semyon Danilov


Move binary metadata to PDS storage folder

Motivation: On K8s deployment disk that is attached to container can not be 
accessible from other containers or outside of K8s. In case if support will 
need to drop persistence except data, there will be no way to recover due to 
binary metadata is required to process PDS files

Current PDS files that are required to restore data:
 * {WORK_DIR}/db/\{nodeId}

 * {WORK_DIR}/db/wal/\{nodeId}

 * {WORK_DIR}/db/wal/archive/\{nodeId}

Proposed implementation:

If binary meta is already located at \{WORK_DIR}/db then start using it

If no metadata been detected via new path then:
 # Check previous location

 # Copy metadata files to a new location

 # Delete previous binary metadata



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to