Bug 510147
Summary: | clean up the replication log msg: remove the repeated (not harmful) log message | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Directory Server | Reporter: | Yi Zhang <yzhang> | ||||
Component: | Replication - General | Assignee: | Noriko Hosoi <nhosoi> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Viktor Ashirov <vashirov> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 9.0 | CC: | jgalipea, nhosoi, rmeggins | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2016-05-06 14:38:40 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: | |||||||
Bug Blocks: | 434914, 517385 | ||||||
Attachments: |
|
Description
Yi Zhang
2009-07-07 21:07:27 UTC
Created attachment 354405 [details]
git patch file for cl5_api.c
File: ldap/servers/plugins/replication/cl5_api.c
Fix Description:
_cl5DBOpen removes a changelog db if there is no matching replica for the file.
The manner to remove the changelog db file was not good -- not using the API
that Berkeley DB provided, but removing it with NSPR delete function PR_Delete.
This fix replaces PR_Delete with the Berkeley DB API dbremove.
Reviewed by Nathan (Thank you!!) Pushed to master. $ git merge bug Updating 654c622..8da0713 Fast forward ldap/servers/plugins/replication/cl5_api.c | 17 +++++++++-------- 1 files changed, 9 insertions(+), 8 deletions(-) $ git push Counting objects: 13, done. Compressing objects: 100% (7/7), done. Writing objects: 100% (7/7), 921 bytes, done. Total 7 (delta 5), reused 0 (delta 0) To ssh://git.fedorahosted.org/git/389/ds.git 654c622..8da0713 master -> master no such error messages were seen after following these steps. 1. setup replication and make sure it works. 1a. set replication log level via console. 2. stop one of the host, import some data with ldif2db cmd 3. start the same host, and we will see such msg marking bug verified with these builds: mozldap-6.0.5-1.el5.x86_64 perl-Mozilla-LDAP-1.5.2-4.el5.x86_64 mozldap-tools-6.0.5-1.el5.x86_64 redhat-ds-base-8.2.0-3.el5dsrv.x86_64 adminutil-1.1.8-2.el5dsrv.x86_64 redhat-ds-admin-8.2.0-3.el5dsrv.x86_64 ldapjdk-4.18-2jpp.4.el5idm.x86_64 jss-4.2.6-6.el5idm.x86_64 idm-console-framework-1.1.5-1.el5idm.noarch redhat-idm-console-1.0.2-1.el5idm.x86_64 redhat-admin-console-8.2.0-2.el5dsrv.noarch redhat-ds-console-8.2.0-4.el5dsrv.noarch redhat-ds-8.2.0-2.el5dsrv.x86_64 redhat-ds-base-8.2.0-3.el5dsrv.x86_64 |