You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org> on 2013/01/28 15:09:12 UTC

[jira] [Resolved] (DIRSERVER-1704) Inconistency in Master-Slave Replication

     [ https://issues.apache.org/jira/browse/DIRSERVER-1704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre-Arnaud Marcelot resolved DIRSERVER-1704.
-----------------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.0.0-M11)
                   2.0.0-M10
         Assignee: Kiran Ayyagari

It should be fixed now.
                
> Inconistency in Master-Slave Replication
> ----------------------------------------
>
>                 Key: DIRSERVER-1704
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1704
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 2.0.0-M6
>         Environment: OS : Windows XP Professional Version 2002, Service Pack 3
> Hardware : Intel 1.73 Ghz, 2 GB RAM
>            Reporter: Amod Kadam
>            Assignee: Kiran Ayyagari
>            Priority: Critical
>              Labels: replication
>             Fix For: 2.0.0-M10
>
>
> We are testing master-slave configuration for ApacheDS and observed inconsistency when data from MASTER gets 
> deleted. The record gets deleted from MASTER but does not get deleted from SLAVE. However this does not happen 
> always. Secondly we are unable to find out the pattern for the same.
> We have seen this issue after executing the Test Cases in sequence. 
> Scenario - Master changes state from RUNNING to STOP and then RUNNING again while Slave is in 'RUNNING' state
> Ensure that MASTER and SLAVE are running before executing each test case.
> ========================================================
> Test Case No: 1
> 1) Stop Master
> 2) Restart MASTER
> 3) Add an entry to the MASTER 
> dn: cn=amodkadam,ou=users,ou=system
> objectClass: person
> objectClass: top
> sn: kadam
> cn: amodkadam	
> Expected Result : 
> SLAVE should get  corresponding entry for 
> dn: cn=amodkadam,ou=users,ou=system	
> Actual Test Result:
> Same as expected result.
> ===========================================
> Test Case No:2
> 1) Stop Master
> 2) Restart MASTER
> 3) UPDATE an entry in the MASTER 
> dn: cn=amodkadam,ou=users,ou=system
> objectClass: person
> objectClass: top
> sn: kadam_update
> cn: amodkadam	
> Expected Result : 
> SLAVE should have  UPDATED entry for 
> dn: cn=amodkadam,ou=users,ou=system	
> Actual Test Result:
> Same as expected
> ================================================
> 1) Stop Master
> 2) Restart MASTER
> 3) DELETE an entry from the MASTER 
> dn: cn=amodkadam,ou=users,ou=system
> objectClass: person
> objectClass: top
> sn: KADAM
> cn: amodkadam	
> Expected Result : 
> Corresponding entry should be deleted from SLAVE but does not get DELETED
> Actual Result 
> Fails and the record in the SLAVE does not get deleted.
> However this does not happen alwyas. 
> =========================================================================
> Could you let us know what could be issue and how to fix it ?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira