[ https://issues.apache.org/jira/browse/QPID-4694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13620888#comment-13620888 ]
Alex Rudyy commented on QPID-4694: ---------------------------------- The changes look good to me. We should definitely ask to include this in 0.22. > [Java Broker] the JSON config file is not saved after startup until promted > by additional change, which can result in unecessary generation of new IDs > for objects on each startup > ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: QPID-4694 > URL: https://issues.apache.org/jira/browse/QPID-4694 > Project: Qpid > Issue Type: Bug > Components: Java Broker > Reporter: Robbie Gemmell > Assignee: Alex Rudyy > Fix For: 0.23 > > > The JSON config file is not saved after startup until promted by additional > change, which can result in unecessary generation of new IDs for objects on > each startup. > For example, upon the first startup the initia-config within the broker jar > is written out to disk and then loaded. This prompts generation of IDs for > the objects in the configuration, but does not cause the file to be saved. If > the broker is simply restarted the same generation of IDs occurs. > Similarly, if a user edited the config file and added a new object but did > not specify an ID, one would be generated at each restart until they edited > the config with the broker running and prompted it to save the current ID for > the object. > The config store file should be immediately saved if any Ids are generated > during startup. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org