Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-7701

[BDB HA] Cursor#getNext API misuse

    XMLWordPrintableJSON

Details

    Description

      The documentation for methods com.sleepycat.je.Cursor#getNext and com.sleepycat.je.Cursor#getSearchKeyRange notes the following:

      In a replicated environment, an explicit transaction must have been
      specified when opening the cursor, unless read-uncommitted isolation is
      specified via the CursorConfig or LockMode
      parameter.

      Currently methods such as org.apache.qpid.server.store.berkeleydb.AbstractBDBMessageStore.BDBMessageStoreReader#visitDistributedTransactions do not do this.

      The documentation does not state the implications of not following this advice.

      Attachments

        Activity

          People

            kwall Keith Wall
            kwall Keith Wall
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: