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

Keith Wall updated QPID-7684:
-----------------------------
    Status: Reviewable  (was: In Progress)

> [Java Broker, BDB] Close Cursor when LockConflictException is thrown
> --------------------------------------------------------------------
>
>                 Key: QPID-7684
>                 URL: https://issues.apache.org/jira/browse/QPID-7684
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.32, qpid-java-6.0.6, qpid-java-6.1.1, 
> qpid-java-broker-7.0.0
>            Reporter: Lorenz Quack
>            Assignee: Keith Wall
>             Fix For: qpid-java-6.0.7, qpid-java-6.1.2, qpid-java-broker-7.0.0
>
>
> Currently, when a LockConflictException is thrown we retry the operation.
> However the retry logic does not adhere to the rules outlined in the BDB JE 
> documentation, specifically we do not close and recreate the Cursor.
> To quote the 
> [documentation|https://docs.oracle.com/cd/E17277_02/html/java/com/sleepycat/je/LockConflictException.html]:
> {quote}If a lock conflict occurs during a transaction, the transaction may be 
> retried by performing the following steps. \[...\]:
> # Close all cursors opened under the transaction.
> # Abort the transaction.
> # Begin a new transaction and repeat the operations.
> {quote}
> The impact of not doing this is unclear.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to