[
https://issues.apache.org/jira/browse/IGNITE-12994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17105313#comment-17105313
]
Semyon Danilov commented on IGNITE-12994:
-----------------------------------------
Opened a PR for this issue: https://github.com/apache/ignite/pull/7792
> 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
> Priority: Major
>
> 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)