Ticket #47409 - allow setting db deadlock rejection policy
https://fedorahosted.org/389/ticket/47409
Reviewed by: nhosoi (Thanks!)
Branch: 389-ds-base-1.2.11
Fix Description: Add the db config attribute nsslapd-db-deadlock-policy. This
takes values from 1-9. The values correspond to the deadlock detector modes
in db.h. These are the valid values to pass to the DBENV->lock_detect
method for the atype parameter. The default value is 9 (DB_LOCK_YOUNGEST) -
select the youngest locker and reject it. A value of 0 (DB_LOCK_NORUN) means
to disable deadlock detection and rejection - not recommended except for
testing purposes. Attempting to use other values will cause an error.
Platforms tested: RHEL6 x86_64
Flag Day: no
Doc impact: yes - document new config parameter
(cherry picked from commit d62cd9b69c8a4a852e7bea0345285dc8c3e1e547)
(cherry picked from commit 42a3ef2644d31355da4d82e1f11b2b2eada554a7)
(cherry picked from commit f7548908d4749db429f17e23c01624475c121def)