Alex Rudyy created QPID-6195:
--------------------------------

             Summary: [Java Broker] On broker upgrade record updated in one 
upgrader and removed in another upgrader is attempted to recover
                 Key: QPID-6195
                 URL: https://issues.apache.org/jira/browse/QPID-6195
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
    Affects Versions: 0.30
            Reporter: Alex Rudyy
            Assignee: Alex Rudyy
             Fix For: 0.31


On broker upgrade record updated in one upgrader and removed in another 
upgrader is attempted to recover. The latter might result in unexpected 
exception like the one below:
{noformat}
java.lang.IllegalArgumentException: Cannot resolve object because their parents 
cannot be found[ConfiguredObjectRecord 
[id=8fedf4bf-9d62-416f-97d1-a83ccd8fe37c, 
type=org.apache.qpid.server.model.Binding, attributes={arguments={}, name=test, 
durable=true}, parents={Exchange=710077d4-695e-31f7-b524-3e7179e2be63, 
Queue=e6c48236-fad1-4ef4-8a9c-16c611fdeafd}]]
        at 
org.apache.qpid.server.store.GenericRecoverer.resolveObjects(GenericRecoverer.java:240)
        at 
org.apache.qpid.server.store.GenericRecoverer.performRecover(GenericRecoverer.java:77)
        at 
org.apache.qpid.server.store.GenericRecoverer.access$000(GenericRecoverer.java:40)
        at 
org.apache.qpid.server.store.GenericRecoverer$1.execute(GenericRecoverer.java:58)
        at 
org.apache.qpid.server.configuration.updater.CurrentThreadTaskExecutor.run(CurrentThreadTaskExecutor.java:77)
        at 
org.apache.qpid.server.store.GenericRecoverer.recover(GenericRecoverer.java:53)
        at 
org.apache.qpid.server.store.VirtualHostStoreUpgraderAndRecoverer.perform(VirtualHostStoreUpgraderAndRecoverer.java:518)
{noformat}





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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to