Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-1254

DatabaseJournal commits twice inside a transaction, causing an error with MySQL

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3, 1.3.1, 1.3.3
    • Fix Version/s: 1.4
    • Component/s: clustering
    • Labels:
      None

      Description

      When committing a transaction in a clustered setup, multiple records may be appended to the DatabaseJournal. After having appended a record, commit() is called on the connection and auto-commit mode is again enabled. Apart from not being semantically correct, committing a connection that is already in auto-commit mode throws an error when using MySQL as backend.

        Attachments

          Activity

            People

            • Assignee:
              dpfister Dominique Pfister
              Reporter:
              dpfister Dominique Pfister
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: