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

Review error logging while establishing replication connections

    Details

    • Type: Task
    • Status: Dev backlog
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 7.0.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      Replication code logs socket related problems as errors in most of the cases. However some of them are transient, such as the RS temporarily too busy to process a new connection, or a spurious timeout.
      Replication handshake in particular tries to distinguish many cases, but most of the times, the reported problem is an error when occurs many times in a row, not necessarily when it happens once in a while.

      One way to resolve the problem could be to implement a service counting how many times in the last 5 minutes or so a given message is to be logged and if it is too frequent (frequency TBD), log it as ERROR, otherwise log it as WARN or INFO.
      Other errors, such as invalid certificates, are permanent errors, so correct classification of the original problem is important and tricky.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                fabiop Fabio Pistolesi
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: