Kirill Gusakov created IGNITE-24114:
---------------------------------------

             Summary: 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


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