[
https://issues.redhat.com/browse/WFCORE-4970?page=com.atlassian.jira.plug...
]
Yeray Borges Santana updated WFCORE-4970:
-----------------------------------------
Priority: Minor (was: Major)
[~parsharma] My understanding of Brian's suggestion by inspecting the possibilities of
using [arbitrary
descriptors|https://docs.wildfly.org/22/Admin_Guide.html#arbitrary-descri...] was to use
this additional metadata to describe that certain attribute modifications need to restart
the managed servers JVMs.
If that's correct and since all the attributes need a JVM restart, I think it would be
enough to enhance the resource description itself and describe there that changes in the
attributes of these resources will require to restart of the managed servers to make the
changes effective.
The point here seems to be that the following resources change the configuration of the
managed servers JVM:
/host=*/jvm=
/host=*/server-config=*/jvm=
/server-group=*/jvm=
However, modifying this configuration should not affect the HC process. If we flag the jvm
attributes with setRestartJvm, then the HC process-state will get a restart-required. What
is required is to restart the affected managed servers to make the changes effective, but
not the HC itself.
Changing the JVM settings at host level does not put the servers in
restart-required
------------------------------------------------------------------------------------
Key: WFCORE-4970
URL:
https://issues.redhat.com/browse/WFCORE-4970
Project: WildFly Core
Issue Type: Bug
Components: Management
Affects Versions: 12.0.0.Beta2
Reporter: Yeray Borges Santana
Assignee: Parul Sharma
Priority: Minor
Operations like the following one should put the servers in restart required to indicate
the user changes will be applied after restarting the servers:
{noformat}
[domain@localhost:9990 /] /host=master/jvm=default:write-attribute(name=heap-size,
value=256m)
{
"outcome" => "success",
"result" => undefined,
"server-groups" => undefined
}
{noformat}
--
This message was sent by Atlassian Jira
(v8.13.1#813001)