-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 7.2
-
Fix Version/s: 7.3
-
Component/s: UIDSequencer
The current UIDGeneratorService relies on hibernate to manage sequence.
Currently the hibernate calls are run inside the global transaction.
As a side effect, when running a bulk import that uses batching and multithreading it does create deadlocks on the tables used to manage the hibernate sequences.
To make this better :
- Step 1 : run the sequence increment in a separated thread/Tx
- Step 2 - move away from hibernate