-
Type: Task
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: QualifiedToSchedule
-
Component/s: Core
-
Tags:
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
- typically the SingleDS mode has problems in some cases like
- 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