Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-14042

Streamline connection/transaction management in Nuxeo Core

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: QualifiedToSchedule
    • Component/s: Core

      Description

      Currently Nuxeo persistence layer has to handle several scenarios :

      • XA mode : the orginal mode that is here since the beginning
      • SingleDS mode : used by default since 5.8, a shared DataSource is used by all services in transactional mode
      • no TX / Auto-Commit : this mode is used only in tests

      Having these 3 modes creates :

      • complex code
      • problems that are specific to one mode only
        • typically the SingleDS mode has problems in some cases like NXP-13486
      • fake problems : the problems we have in non-transactional tests are not real problems
        • at least they are not problems we want to invest time in

      The target solution is :

      • fix the singleDS mode
      • share as much as possible code between XA and SingleDS
      • get ridd of the autocommit mode

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: