Symptoms

There is a number of database deadlock errors appear in xmlrpcd.log like below:

[14-10-03 10:23:48.642 ADict       TH16990 NTE] Language::get("ODBC code #40P01: ERROR: deadlock detected
[14-10-03 10:23:48.642 XMLRPCD     TH16990 ERR] Exception type Exc: ODBC code #40P01: ERROR:    deadlock detected
[14-10-03 10:23:50.780 ADict       RQ1494938 NTE] Language::get("ODBC code #40P01: ERROR:       deadlock detected

Cause

This is a concurrency issue with two external API methods involved, when the first method "ResellerConfigure_API" is used to initialize resellers, and at the same time the orders for reseller subscriptions are placed with "PlaceOrderAndAuthorize_API" call and processed automatically.

The issue is caused by the bug PBA-58542 which will be fixed in one of the future updates to PBA-E.

Resolution

Internal content