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

InternalXAResource.rollback() can be called twice and without prepare

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9, 1.0, 1.0.1
    • 1.1
    • transactions
    • None
    • r412989

    Description

      during the prepare phase in the transaction context, each resource is 'prepared'. if one of them fails to prepare, the rest is rolledback, and later all of them are rolledback again. this can cause that:

      • a resource that is never prepared is rolled back (which is ok, since is may need to cleanup stuff)
      • a resource's rollback() may be called twice (which i don't know, if it's ok)

      however, some of the resources are buggy and can't handle neither case correctly.

      Attachments

        Activity

          People

            tripod Tobias Bocanegra
            tripod Tobias Bocanegra
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: