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

Replication: Transient error message of Read Timeout while configuring should be logged as warning

    Details

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

      Description

      Found with rev 7.0.0-SNAPSHOT (1af42383c80)

      We are getting some time out randomly in the pipeline when modifying configuration if replicated servers:

      ie:

      --- Check for error patterns in "/mnt/scratch/workspaces/workspace/master-2556-1594219429371-1327434800/results/20200708-144547/setup_group/ServerId/DJ1/opendj/logs/replication" file ---	
      22:17:06.943	WARN	(ERROR) [08/Jul/2020:20:16:34 +0000] category=SYNC severity=ERROR msgID=119 msg=Directory server DS(my1stServerId) encountered an unexpected error while connecting to replication server openam.example.com:9112 for domain "cn=schema": SSLException: Read timed out (Alert.java:127 TransportContext.java:320 TransportContext.java:263 TransportContext.java:258 SSLTransport.java:137 SSLSocketImpl.java:1151 SSLSocketImpl.java:1062 SSLSocketImpl.java:402 ReplSessionSecurity.java:103 Session.java:65 ReplicationBroker.java:887 ReplicationBroker.java:735 ReplicationBroker.java:690 ReplicationBroker.java:306 ReplicationDomain.java:2124 ReplicationDomain.java:2162 ReplicationDomain.java:2138 LDAPReplicationDomain.java:2821 LDAPReplicationDomain.java:281 ServerManagedObjectChangeListenerAdaptor.java:44 ConfigChangeListenerAdaptor.java:250 ...)
      

      These time out can happen, especially when there are a lot of servers in a slow environment.
      But eventually servers manage to connect at some point and everything works just fine.

      So:
      1 - could we log this message as a warning only?
      2- could we get rid of the stack trace that is not helping an end user?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ondrej.fuchsik Ondrej Fuchsik
                Reporter:
                cforel carole forel
                Dev Assignee:
                Fabio Pistolesi
                QA Assignee:
                Ondrej Fuchsik
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: