[
https://issues.apache.org/jira/browse/IGNITE-22486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17938470#comment-17938470
]
Mirza Aliev commented on IGNITE-22486:
--------------------------------------
`org.apache.ignite.internal.configuration.tree.ConverterToMapVisitor#visitNamedListNode`
must be improved, we need to remove {{else}} branch of *if (hasInjectedValues)
{*
> Change arrays in configuration to objects (key-value pairs)
> -----------------------------------------------------------
>
> Key: IGNITE-22486
> URL: https://issues.apache.org/jira/browse/IGNITE-22486
> Project: Ignite
> Issue Type: Improvement
> Components: configuration
> Affects Versions: 3.0.0-beta1
> Reporter: Pavel Tupitsyn
> Priority: Major
> Labels: ignite-3
> Fix For: 3.1
>
>
> Change this:
> {code}
> profiles=[
> {
> engine=aipersist
> memoryAllocator {
> type=unsafe
> }
> name=default
> replacementMode=CLOCK
> size=6672981196
> }
> ]
> {code}
> to this:
> {code}
> profiles={
> default = {
> engine=aipersist
> memoryAllocator {
> type=unsafe
> }
> replacementMode=CLOCK
> size=6672981196
> }
> }
> {code}
> Review all configuration roots and apply this approach (*profiles*,
> *attributes*, etc)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)