Bug 2057059
Summary: | Import may break replication because changelog starting csn may not be created | ||
---|---|---|---|
Product: | Red Hat Directory Server | Reporter: | mreynolds |
Component: | 389-ds-base | Assignee: | Pierre Rogier <progier> |
Status: | CLOSED ERRATA | QA Contact: | RHDS QE <ds-qe-bugs> |
Severity: | high | Docs Contact: | Zuzana Zoubkova <zzoubkov> |
Priority: | unspecified | ||
Version: | 12.0 | CC: | ds-qe-bugs, gkimetto, ldap-maint, progier, sgouvern, zzoubkov |
Target Milestone: | DS12.0 | Keywords: | TestCaseProvided, Triaged |
Target Release: | dirsrv-12.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | sync-to-jira | ||
Fixed In Version: | redhat-ds-12-9000020220323222240.1674d574 | Doc Type: | Bug Fix |
Doc Text: |
.Import from an LDIF file with replication metadata now works correctly
Previously, importing an LDIF file with replication metadata could cause the replication to fail in certain cases:
In the first case, a replication update vector (RUV) entry placed before the suffix entry in an imported LDIF file was ignored. As a consequence, the replication with the imported replica failed, because of a generation ID mismatch. This update ensures that Directory Server writes the skipped RUV entry at the end of the import.
In the second case, a changelog reinitialized after an RUV mismatch did not contain the starting change sequence numbers (CSNs). As a consequence, the replication with the imported replica failed, because of a missing CSN in the changelog. This update ensures that Directory Server creates the RUV `maxcsn` entries, when reinitializing the changelog.
As a result, with this update, administrators do not have to reinitialize the replication after importing from an LDIF file that contains replication metadata.
|
Story Points: | --- |
Clone Of: | 2057058 | Environment: | |
Last Closed: | 2022-05-18 15:28:06 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 2057056, 2057058, 2113056 | ||
Bug Blocks: |
Description
mreynolds
2022-02-22 16:25:15 UTC
With 389-ds-base-2.0.14-7.module+el9dsrv+14845+69b2f526.x86_64 [root@ci-vm-10-0-136-100 389-ds-base]# py.test -v dirsrvtests/tests/suites/replication/regression_m2_test.py::test_online_reinit_may_hang ============================================================ test session starts ============================================================= platform linux -- Python 3.9.10, pytest-7.1.1, pluggy-1.0.0 -- /usr/bin/python3 cachedir: .pytest_cache 389-ds-base: 2.0.14-7.module+el9dsrv+14845+69b2f526 nss: 3.71.0-7.el9 nspr: 4.32.0-9.el9 openldap: 2.4.59-4.el9 cyrus-sasl: not installed FIPS: disabled rootdir: /mnt/tests/rhds/install/389-ds-base/dirsrvtests, configfile: pytest.ini collected 1 item dirsrvtests/tests/suites/replication/regression_m2_test.py::test_online_reinit_may_hang PASSED [100%] ======================================================= 1 passed, 5 warnings in 46.68s ======================================================= Marking as VERIFIED 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 (redhat-ds:12 bug fix and enhancement update), 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://access.redhat.com/errata/RHEA-2022:4664 |