Red Hat Bugzilla – Bug 830336
db deadlock return should not log error
Last modified: 2013-02-21 03:17:27 EST
This bug is created as a clone of upstream ticket: https://fedorahosted.org/389/ticket/345 When entryrdn gets a deadlock, it should not report an error at the default log level e.g. [15/Apr/2012:07:33:33 -0400] entryrdn-index - _entryrdn_put_data: Adding the parent link (P28354) failed: DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock (-30994) It should log this at the TRACE log level.
Please add steps to reproduce this dead lock.
Covered by the new test multi_plugin - the stress test testcases/DS/6.0/multi_plugin ------------------------------------------------------------------------ r6706 | rmeggins@REDHAT.COM | 2012-07-07 08:24:23 -0600 (Sat, 07 Jul 2012) | 16 lines Add multi_plugin test suite This test enables and configures multiple plugins in the style of ipa. The stress version of this test will enable the TXN_TESTING in the server which will exercise the txn deadlock and retry code paths in the server. Tickets covered by this test: Ticket #345 - db deadlock return should not log error Ticket #387 - managed entry sometimes doesn't delete the managed entry Ticket #360 - ldapmodify returns Operations error Ticket #335 - transaction retries need to be cache aware Bugs covered by this test: 830336 db deadlock return should not log error 830343 managed entry sometimes doesn't delete the managed entry 833218 ldapmodify returns Operations error 833202 transaction retries need to be cache aware Steps to reproduce 1) run the multi_plugin stress tests 2) make sure no DB_LOCK_DEADLOCK messages are in the errors log
On RHEL 6.4 Snapshot 5 with 389-ds-base-1.2.11.15-11.el6.x86_64: multi_plugin startup 100% (1/1) multi_plugin run 100% (6/6) multi_plugin cleanup 100% (1/1) No errors in log. Verified.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2013-0503.html