You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vadim Pakhnushev (Jira)" <ji...@apache.org> on 2025/02/19 08:31:00 UTC
[jira] [Updated] (IGNITE-24557) CLI node config update doesn't rewrite the section, but adds it into the existing config
[ https://issues.apache.org/jira/browse/IGNITE-24557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vadim Pakhnushev updated IGNITE-24557:
--------------------------------------
Description:
I tried to rewrite ignite.storage.profiles section with completely new values, but the command adds additional section into the profiles list, instead of replacing it.
{code}
[ggnode1-ubuntu-new-2025-02-18]> node config show ignite.storage
...
profiles=[
{
engine=aipersist
name=default
replacementMode=CLOCK
size=40458666803
}
]
[ggnode1-ubuntu-new-2025-02-18]> node config update ignite.storage.profiles=[ \{ "engine" : "rocksdb", "name" : "rocks" }]
Node configuration updated. Restart the node to apply changes.
[ggnode1-ubuntu-new-2025-02-18]> node config show ignite.storage
...
profiles=[
{
engine=aipersist
name=default
replacementMode=CLOCK
size=40458666803
},
{
engine=rocksdb
name=rocks
size=268435456
writeBufferSize=67108864
}
]
{code}
was:
I tried to rewrite ignite.storage.profiles section with completely new values, but the command adds additional section into the profiles list, instead of replacing it.
```
[ggnode1-ubuntu-new-2025-02-18]> node config show ignite.storage
...
profiles=[
{
engine=aipersist
name=default
replacementMode=CLOCK
size=40458666803
}
]
[ggnode1-ubuntu-new-2025-02-18]> node config update ignite.storage.profiles=[ \{ "engine" : "rocksdb", "name" : "rocks" }]
Node configuration updated. Restart the node to apply changes.
[ggnode1-ubuntu-new-2025-02-18]> node config show ignite.storage
...
profiles=[
{
engine=aipersist
name=default
replacementMode=CLOCK
size=40458666803
},
{
engine=rocksdb
name=rocks
size=268435456
writeBufferSize=67108864
}
]
```
> CLI node config update doesn't rewrite the section, but adds it into the existing config
> ----------------------------------------------------------------------------------------
>
> Key: IGNITE-24557
> URL: https://issues.apache.org/jira/browse/IGNITE-24557
> Project: Ignite
> Issue Type: Bug
> Components: cli
> Reporter: Yury Yudin
> Priority: Major
> Labels: ignite-3, ignite-3-cli-tool
>
> I tried to rewrite ignite.storage.profiles section with completely new values, but the command adds additional section into the profiles list, instead of replacing it.
> {code}
> [ggnode1-ubuntu-new-2025-02-18]> node config show ignite.storage
> ...
> profiles=[
> {
> engine=aipersist
> name=default
> replacementMode=CLOCK
> size=40458666803
> }
> ]
> [ggnode1-ubuntu-new-2025-02-18]> node config update ignite.storage.profiles=[ \{ "engine" : "rocksdb", "name" : "rocks" }]
> Node configuration updated. Restart the node to apply changes.
> [ggnode1-ubuntu-new-2025-02-18]> node config show ignite.storage
> ...
> profiles=[
> {
> engine=aipersist
> name=default
> replacementMode=CLOCK
> size=40458666803
> },
> {
> engine=rocksdb
> name=rocks
> size=268435456
> writeBufferSize=67108864
> }
> ]
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)