MalcolmMcDonald
4 years agoQrew Cadet
Data Race Conditions
In a QB Channel -- I seem to be experiencing a race condition
From a staging table:
1. [Thread 1] System checks to see if order A exists in the sales table. Does not find Order A
2. [Thread 2] System checks to see if order A exists in the sales table. Does not find Order A
3. System creates Order A
4. System creates Order A
Where what should be happening is step 3 moves up to step 2.
Any ideas on throttling or flagging?
------------------------------
Malcolm McDonald
------------------------------
From a staging table:
1. [Thread 1] System checks to see if order A exists in the sales table. Does not find Order A
2. [Thread 2] System checks to see if order A exists in the sales table. Does not find Order A
3. System creates Order A
4. System creates Order A
Where what should be happening is step 3 moves up to step 2.
Any ideas on throttling or flagging?
------------------------------
Malcolm McDonald
------------------------------