#49209 Hang due to omitted replica lock release
Closed: wontfix 7 years ago Opened 7 years ago by tbordaz.

Issue Description

DS hangs because of pending list management.
There is a corner case of pending list management when an operation is canceled, it cancel the related csn. If the csn is not found in the pending list it 'forgots' to release the replica lock

Package Version and Platform


Steps to reproduce

  1. It happens from time to time in freeipa install (https://bugzilla.redhat.com/show_bug.cgi?id=1432016)

Actual results

Possible Hang

Expected results

Metadata Update from @tbordaz:
- Issue assigned to tbordaz

7 years ago

Metadata Update from @tbordaz:
- Custom field reviewstatus adjusted to new
- Custom field type adjusted to defect

7 years ago

Logging a backstack that is a symptom of this bug:

Thread 30 (Thread 0x7f1ebf7fe700 (LWP 35281)):
#0  0x00007f1eebb36705 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f1eec18d473 in PR_EnterMonitor () from /lib64/libnspr4.so
#2  0x00007f1ee06d2321 in replica_get_generation () from /usr/lib64/dirsrv/plugins/libreplication-plugin.so
 #3  0x00007f1ee06cbb90 in copy_operation_parameters () from /usr/lib64/dirsrv/plugins/libreplication-plugin.so
 #4  0x00007f1ee06cd1ea in multimaster_preop_modify () from /usr/lib64/dirsrv/plugins/libreplication-plugin.so
 #5  0x00007f1eedfc3db8 in plugin_call_func () from /usr/lib64/dirsrv/libslapd.so.0
 #6  0x00007f1eedfc4043 in plugin_call_plugins () from /usr/lib64/dirsrv/libslapd.so.0
 #7  0x00007f1eedfb1359 in op_shared_modify () from /usr/lib64/dirsrv/libslapd.so.0
 #8  0x00007f1eedfb291f in do_modify () from /usr/lib64/dirsrv/libslapd.so.0
 #9  0x00007f1eee49d9d0 in connection_threadmain ()
 #10 0x00007f1eec1929bb in _pt_root () from /lib64/libnspr4.so
#11 0x00007f1eebb32df5 in start_thread () from /lib64/libpthread.so.0
#12 0x00007f1eeb8601ad in clone () from /lib64/libc.so.6

Metadata Update from @mreynolds:
- Custom field reviewstatus adjusted to ack (was: new)

7 years ago

Thanks Mark for the review.

Push on master

git push origin master
Counting objects: 7, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (7/7), done.
Writing objects: 100% (7/7), 922 bytes | 0 bytes/s, done.
Total 7 (delta 5), reused 0 (delta 0)
To ssh://git@pagure.io/389-ds-base.git                                                                                              
   0550cea..7dc991b  master -> master

Metadata Update from @tbordaz:
- Custom field origin adjusted to RHCust
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1432016

7 years ago

Metadata Update from @tbordaz:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

7 years ago

4fa6f6e..071cada 389-ds-base-1.3.5 -> 389-ds-base-1.3.5

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

7 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/2268

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)

3 years ago

Log in to comment on this ticket.