[
https://issues.apache.org/jira/browse/IGNITE-14956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vladislav Pyatkov updated IGNITE-14956:
---------------------------------------
Description:
Let's rename Vault's {{bootstrapped}} method to {{bootstrappedWithPDS}} or
rename to {{initialized()}} and change the logic in the following way:
* returns true if was deployed atop PDS with some configuration included;
* returns true if it was bootstrapped with user bootstrap configuration;
* returns true if there was no user bootstrap configuration and the default
one was used.
Seems that the second option is better.
*UPD:*
After talking about initial configuration, we made a decision to change the
term a bootstrap configuration to a startup configuration.
The startup configuration will be able to be provided each time when the node
starts.
When the startup configuration was presented, it overwrites stored state if it
existed (restart scenario), otherwise it applied with defaults (first start).
was:
Let's rename Vault's {{bootstrapped}} method to {{bootstrappedWithPDS}} or
rename to {{initialized()}} and change the logic in the following way:
* returns true if was deployed atop PDS with some configuration included;
* returns true if it was bootstrapped with user bootstrap configuration;
* returns true if there was no user bootstrap configuration and the default
one was used.
Seems that the second option is better.
> Implement the VaultManager#bootstrapped method
> ----------------------------------------------
>
> Key: IGNITE-14956
> URL: https://issues.apache.org/jira/browse/IGNITE-14956
> Project: Ignite
> Issue Type: Sub-task
> Affects Versions: 3.0.0-alpha3
> Reporter: Aleksandr Polovtcev
> Assignee: Vladislav Pyatkov
> Priority: Minor
> Labels: ignite-3
> Time Spent: 3h 40m
> Remaining Estimate: 0h
>
> Let's rename Vault's {{bootstrapped}} method to {{bootstrappedWithPDS}} or
> rename to {{initialized()}} and change the logic in the following way:
> * returns true if was deployed atop PDS with some configuration included;
> * returns true if it was bootstrapped with user bootstrap configuration;
> * returns true if there was no user bootstrap configuration and the default
> one was used.
> Seems that the second option is better.
> *UPD:*
> After talking about initial configuration, we made a decision to change the
> term a bootstrap configuration to a startup configuration.
> The startup configuration will be able to be provided each time when the node
> starts.
> When the startup configuration was presented, it overwrites stored state if
> it existed (restart scenario), otherwise it applied with defaults (first
> start).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)