You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alex Rudyy (JIRA)" <ji...@apache.org> on 2014/10/02 14:04:34 UTC

[jira] [Assigned] (QPID-6126) [Java Broker] Improve CO validation on creation and transit CO into ERRORED state on exceptions whilst recovering

     [ https://issues.apache.org/jira/browse/QPID-6126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Rudyy reassigned QPID-6126:
--------------------------------

    Assignee: Keith Wall  (was: Alex Rudyy)

Keith,
Do you mind to review recent changes?

> [Java Broker] Improve CO validation on creation and transit CO into ERRORED state on exceptions whilst recovering
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-6126
>                 URL: https://issues.apache.org/jira/browse/QPID-6126
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Broker
>            Reporter: Alex Rudyy
>            Assignee: Keith Wall
>             Fix For: 0.31
>
>         Attachments: 0001-QPID-6126-Add-ability-to-validate-CO-attributes-on-c.patch, 0001-QPID-6126-Add-ability-to-validate-CO-attributes-on-c.patch
>
>
> Java Broker cannot start when exceptions occus on recovery of configured objects. Management mode is required to use in order to remediate the configuration issue. However, in some cases configured objects cannot even be started in management mode. Additionally, there are number issues with attribute validation on creation of COs, like CO is created but cannot be stored in configuration store. Sometimes, such CO cannot even be deleted properly from the broker model and restart is required to remove such COs.
> This JIRA aims to sthengthen CO validation and improve Broker behaviour on recovery/creation of CO with misconfigured attributes.
> The following improvements will be added as part of this JIRA:
> # a special method to implement validation on creation will be added into AbstractConfiguredObject and COs inherited from AbstractConfiguredObject to perform additional attribute validation on creation. Validation exceptions thrown from the validation methods on CO creation should delete CO and release all its resources.
> # when runtime exceptions occur on CO recovery such CO should transit into ERRORED state and Broker should continue with the startup of not-impacted COs.
> #user should be able to remediate the configuration issue in ERRORED CO using management interfaces and re-start the CO



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org