[
https://issues.apache.org/jira/browse/IGNITE-24557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Igor Gusev resolved IGNITE-24557.
---------------------------------
Resolution: Won't Fix
After some discussion, we agreed that this behavior is not clear to users, and
we should update how configuration is done. See the linked issue.
> 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)