[ 
https://issues.apache.org/jira/browse/IGNITE-12994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17136562#comment-17136562
 ] 

Sergey Chugunov commented on IGNITE-12994:
------------------------------------------

[~sdanilov], as I can see comment about your change were either addressed or 
get answers on dev list. Overall patch looks good to me, we are clear to 
proceed with merging it to master.

[~Pavlukhin], indeed idea of moving binary metadata to metastorage has emerged 
right when metastorage was introduced. But previously with such a change we 
would loose any procedure to recreate binary meta (e.g. to replace field type 
or do other incompatible change). When IGNITE-13154 is introduced we'll be able 
to start working on that.

> 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
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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