Summary: | Deadlock between two MODs on the same entry between entry cache and backend lock | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Noriko Hosoi <nhosoi> |
Component: | 389-ds-base | Assignee: | Noriko Hosoi <nhosoi> |
Status: | CLOSED ERRATA | QA Contact: | Viktor Ashirov <vashirov> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.0 | CC: | gparente, kbanerje, nkinder, rmeggins, tbordaz |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 389-ds-base-1.3.5.2-1.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-11-03 20:33:29 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: |
Description
Noriko Hosoi
2015-10-20 16:49:36 UTC
*** Bug 1214459 has been marked as a duplicate of this bug. *** This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions Bug Verified. [root@test ~]# rpm -qa | grep 389-ds* 389-ds-base-1.3.5.10-9.el7.x86_64 389-ds-base-libs-1.3.5.10-9.el7.x86_64 Steps Perform step 1) Add 1000 users in the step 2) Set the value nsslapd-threadnumber: 100 nsslapd-db-transaction-batch-val: 100 nsslapd-backend-opt-level: 7 nsslapd-cachesize=10 step 3) run the ldapsearch i=10; while [ $i > 10 ]; do ldapsearch -LLL -x -h localhost -p 389 -D "cn=directory manager" -w test1234 -b "ou=People,dc=example,dc=com" '(uid=33999)' dn sn mail givenName; i=`expr $i - 1`; done Step 4) run the ldapmodify on the entry #! /bin/bash for (( i=0 ; i<50000 ; i++ )) do ldapmodify -D "cn=Directory Manager" -p 389 -h localhost -w test1234 << EOF dn: uid=33999,ou=People,dc=example,dc=com changetype: modify replace: sn sn: change$i - replace: givenName givenName: tll$i EOF done ---------- #! /bin/bash for (( i=0 ; i<50000 ; i++ )) do ldapmodify -D "cn=Directory Manager" -p 389 -h localhost -w test1234 << EOF dn: uid=33999,ou=People,dc=example,dc=com changetype: modify replace: mail mail: change$i EOF done ------ Result modification succesful Nothing fails 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. https://rhn.redhat.com/errata/RHSA-2016-2594.html |