[ 
https://issues.apache.org/jira/browse/IGNITE-24114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Roman Puchkovskiy reassigned IGNITE-24114:
------------------------------------------

    Assignee: Roman Puchkovskiy

> Default storage profile switched to aipersist in the force manner
> -----------------------------------------------------------------
>
>                 Key: IGNITE-24114
>                 URL: https://issues.apache.org/jira/browse/IGNITE-24114
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Kirill Gusakov
>            Assignee: Roman Puchkovskiy
>            Priority: Major
>              Labels: ignite-3
>
> On the node start we create/update 'default' storage profile to 
> {{PersistentPageMemoryProfile}} in the 
> {{PageMemoryStorageEngineLocalConfigurationModule}}:
> {code:java}
>     @Override
>     public void patchConfigurationWithDynamicDefaults(SuperRootChange 
> rootChange) {
>         StorageExtensionChange storageExtensionChange = 
> (StorageExtensionChange) 
> rootChange.changeRoot(StorageExtensionConfiguration.KEY);
>         
> storageExtensionChange.changeStorage().changeProfiles().createOrUpdate(DEFAULT_PROFILE_NAME,
>  p -> {
>             p.convert(PersistentPageMemoryProfileChange.class);
>         });
>     }
> {code}
> But instead we need just create it and do nothing if it is already exists.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to