Bug 2192827

Summary: Cleanall ruv on consumer crashes the server
Product: Red Hat Directory Server Reporter: thierry bordaz <tbordaz>
Component: 389-ds-baseAssignee: thierry bordaz <tbordaz>
Status: VERIFIED --- QA Contact: LDAP QA Team <idm-ds-qe-bugs>
Severity: high Docs Contact: Evgenia Martynyuk <emartyny>
Priority: unspecified    
Version: 12.1CC: idm-ds-dev-bugs, mreynolds, musoni, pasik, vashirov
Target Milestone: DS12.3Keywords: Triaged
Target Release: dirsrv-12.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: sync-to-jira
Fixed In Version: redhat-ds-12-9030020230711000312-1674d57 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description thierry bordaz 2023-05-03 08:01:28 UTC
Description of problem:
A consumer that receives a cleanallruv task will try clear its CL. A consumer does not have any CL and dereference a NULL pointer


Version-Release number of selected component (if applicable):
12.1


How reproducible:
Create a M2_C2 topology. Make sure replication works. then launch
dsconf supplier1 repl-tasks cleanallruv --suffix 'dc=example,dc=com' --replica-id 2 

Actual results:
It crashes one or two of the consumers


Expected results:
Consumers should not crash

Comment 4 Viktor Ashirov 2023-08-15 12:09:04 UTC
Automated test passed:
=============================================================================================== test session starts ================================================================================================
platform linux -- Python 3.9.17, pytest-6.2.2, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3
cachedir: .pytest_cache
389-ds-base: 2.3.5-1.module+el9dsrv+19320+04706864
nss: 3.90.0-2.el9_2
nspr: 4.35.0-2.el9_2
openldap: 2.6.3-1.el9
cyrus-sasl: not installed
FIPS: disabled
rootdir: /root/ds/dirsrvtests, configfile: pytest.ini
collected 1 item

cleanallruv_test.py::test_cleanallruv_consumer PASSED                                                                                                                                                        [100%]

========================================================================================== 1 passed in 250.71s (0:04:10) ===========================================================================================


Marking as VERIFIED.