Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-5793

Replication on windows: ChangelogException while adding entries

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.0.0
    • Fix Version/s: 7.0.0
    • Component/s: replication
    • Labels:

      Description

      Found with 7.0.0 rev (1a945417d53)

      We set up 4 servers and replicate them, with data, on dc=com.
      When adding multiple entries using ldapmodify and a ldif file on first server, an error occurs:

      10:25:05 # The LDAP modify request failed: 53 (Unwilling to Perform)
      10:25:05 # Additional Information:  The Replication is configured for suffix dc=com but was not able to connect to any Replication Server
      10:25:05 
      10:25:05 -- stderr --
      10:25:05 
      10:25:05 [ WARN ] (ERROR) [06/Dec/2018:09:24:48 +0000] category=SYNC severity=ERROR msgID=32 msg=An unexpected error happened handling connection with Replication server RS(2) for domain "dc=com" ChangelogException: Could not decode a record from data read in log file 'java.io.RandomAccessFile@29b899c2' (BlockLogReader.java:157 LogFile.java:542 Log.java:1026 Log.java:1194 FileReplicaDBCursor.java:81 CompositeDBCursor.java:143 CompositeDBCursor.java:101 CompositeDBCursor.java:86 DomainDBCursor.java:25 ServerHandler.java:773 ServerHandler.java:748 ServerWriter.java:89).  This connection is going to be closed
      10:25:05 [ WARN ] (ERROR) [06/Dec/2018:09:24:48 +0000] category=SYNC severity=ERROR msgID=32 msg=An unexpected error happened handling connection with Replica DS(3) for domain "dc=com" ChangelogException: Could not decode a record from data read in log file 'java.io.RandomAccessFile@7cebb4c2' (BlockLogReader.java:157 LogFile.java:542 Log.java:1026 Log.java:1194 FileReplicaDBCursor.java:81 CompositeDBCursor.java:143 CompositeDBCursor.java:101 CompositeDBCursor.java:86 DomainDBCursor.java:25 ServerHandler.java:773 ServerHandler.java:748 ServerWriter.java:89).  This connection is going to be closed
      

      This only seems to happen on windows and this is a regression.

      To reproduce:

      run-pybot.py -n -v -s replication_group1.Basic -t add_delete_multiple_entries opendj
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ylecaillez Yannick Lecaillez
                Reporter:
                cforel carole forel
                QA Assignee:
                Michal Severin
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: