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

Backport OPENDJ-6711: Replication status reports The provided value "5277383431" could not be parsed as an integer.

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.5.2, 6.5.1, 6.5.0, 6.0.0, 7.0.0
    • Fix Version/s: 6.5.4
    • Component/s: tools
    • Labels:
    • Story Points:
      1

      Description

      dsreplication status reports the following overflow error.

      Error reading registration information. Details: The provided value
      "5277383431" could not be parsed as an integer
      See /tmp/opendj-replication-3834834454889324993.log for a detailed log of this operation.
      

      This is approximately the current replication delay as seen in cn=monitor and the uptime.

      dn: ds-mon-domain-name=o=example,cn=replicas,cn=replication,cn=monitor
      ds-mon-server-id: 22125
      ds-mon-current-delay: 5344867760
      

      Looks like an int overrun issue with `asInteger(-1)`

      replica.setCurrentDelay(sr.parseAttribute("ds-mon-current-delay").asInteger(-1));
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ondrej.fuchsik Ondrej Fuchsik
                Reporter:
                cjr Chris Ridd
                Dev Assignee:
                Chris Ridd
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: