What can be done to prevent inventory data deadlocks in the database?
A.
UseinventoryRepository’s built locking mechanism to avoid this issue.
B.
No additional step needed. Transaction Manager has a dead lock listener.
C.
It is controlled via theinvontoryLockEngine on the Client Lock Manager, which locks
theinventory.
D.
Useinventory Manager’s acquireinventoryLocks and releaselnventoryLocks methods.
E.
Apply database optimistic locking on theinventory table.
F.
Use Custom extensions to theinventory System.
Explanation:
Preventing Inventory Deadlocks
InventoryManager includes the acquireInventoryLocks and releaseInventoryLocks methods.
These methods can be used to prevent deadlocks in the database, especially if there are multiple
ATG Commerce instances concurrently updating inventory.
ATG Commerce Programming Guide, Preventing Inventory Deadlocks