You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/03/15 10:11:00 UTC

[jira] [Commented] (ARTEMIS-1747) When Broker Stops and Starts configuration changes by reload are lost

    [ https://issues.apache.org/jira/browse/ARTEMIS-1747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16400157#comment-16400157 ] 

ASF GitHub Bot commented on ARTEMIS-1747:
-----------------------------------------

GitHub user michaelandrepearce opened a pull request:

    https://github.com/apache/activemq-artemis/pull/1954

    ARTEMIS-1747 - Fix Configuration change loss when network Issue

    Add Test Case to stop and restart server after config reload and check state, this re-creates network health check issue where config changes are lost when network health check de-activates the server and then re-activates.
    
    Add fix to update the held configuration thats used when initialisation steps during start are done.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/michaelandrepearce/activemq-artemis ARTEMIS-1747

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/1954.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1954
    
----
commit 60169ead009decdc6354ca6ba9a2d6894ad063d7
Author: Michael André Pearce <mi...@...>
Date:   2018-03-14T22:13:48Z

    ARTEMIS-1747 - Fix Configuration change loss when network Issue
    
    Add Test Case to stop and restart server after config reload and check state, this re-creates network health check issue where config changes are lost when network health check de-activates the server and then re-activates.
    
    Add fix to update the held configuration thats used when initialisation steps during start are done.

----


> When Broker Stops and Starts configuration changes by reload are lost
> ---------------------------------------------------------------------
>
>                 Key: ARTEMIS-1747
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1747
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Michael Andre Pearce
>            Assignee: Michael Andre Pearce
>            Priority: Blocker
>
> When the broker is stopped and started (not JVM restart) e.g. by the NetworkHealthChecker when a network is detected unhealthy and then becomes healthy again, the broker looses any configuration changes made by reload.
> address-settings
> security-settings
> addresses
> queues
>  
> This seems to be due to initializing step uses the stored configuration object thats created on JVM start, and this is never updated when reloads occur, thus why on start and stop broker configuration is reverted to the state when broker first started.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)