#47782 Parent numsubordinate count can be incorrectly updated if an error occurs
Closed: wontfix None Opened 7 years ago by mreynolds.

When adding or deleting an entry it is possible the parent entry has its numsubordinate count adjusted and applied to the entry cache - even if the operation fails.

Note - this is just something I saw in the code while investigating a different ticket. I never hit this issue, but I saw that it was possible(but very rare).

git merge ticket47782
Updating f06f76e..2079892
ldap/servers/slapd/back-ldbm/ldbm_add.c | 10 ++++++
ldap/servers/slapd/back-ldbm/ldbm_delete.c | 12 ++++----
ldap/servers/slapd/back-ldbm/ldbm_modify.c | 38 ++++++++++++++++++++++++
ldap/servers/slapd/back-ldbm/proto-back-ldbm.h | 1 +

git push origin master
f06f76e..2079892 master -> master

commit 2079892
Author: Mark Reynolds mreynolds@redhat.com
Date: Wed Apr 16 15:21:21 2014 -0400

00f4492..4ddc6dc 389-ds-base-1.3.2 -> 389-ds-base-1.3.2
commit 4ddc6dc

ba5938b..cef6ae4 389-ds-base-1.3.1 -> 389-ds-base-1.3.1
commit cef6ae45454ee54f6f97f38eeffe56f46e0648b5

36f51ea..ac8ada3 389-ds-base-1.2.11 -> 389-ds-base-1.2.11
commit ac8ada3

Metadata Update from @mreynolds:
- Issue assigned to mreynolds
- Issue set to the milestone:

4 years ago

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/389ds/389-ds-base/issues/1114

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata Update from @spichugi:
- Issue close_status updated to: wontfix (was: Fixed)

7 months ago

Login to comment on this ticket.