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
1.3.6
Possible Hang
Metadata Update from @tbordaz: - Issue assigned to tbordaz
<img alt="0001-Ticket-49209-Hang-due-to-omitted-replica-lock-releas.patch" src="/389-ds-base/issue/raw/files/8adf20a3bebb247024662ee92aa8783d99f85fd0183398822a856287a75fe7fd-0001-Ticket-49209-Hang-due-to-omitted-replica-lock-releas.patch" />
Metadata Update from @tbordaz: - Custom field reviewstatus adjusted to new - Custom field type adjusted to defect
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
Acked, I'm assuming this is addressing https://bugzilla.redhat.com/show_bug.cgi?id=1432016 ?
Metadata Update from @mreynolds: - Custom field reviewstatus adjusted to ack (was: new)
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
Metadata Update from @tbordaz: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
4fa6f6e..071cada 389-ds-base-1.3.5 -> 389-ds-base-1.3.5
Metadata Update from @mreynolds: - Issue set to the milestone: 1.3.6.0
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.
subscribe
Thank you for understanding. We apologize for all inconvenience.
Metadata Update from @spichugi: - Issue close_status updated to: wontfix (was: fixed)
Log in to comment on this ticket.