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

dsrepl initialize, remove double logging for end of initialization

    Details

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

      Description

      The output of dsrepl initialize to be a bit more verbose than necessary:

      $ opendj_0_DSRS/bin/dsrepl initialize --toAllServers -b dc=example,dc=com -b cn=schema -b 'cn=admin data' \
          --bindDn uid=admin -w password -p 4500 --trustAll --no-prompt
      Starting initialization from 'DJ0-0' to all replicas for base DNs:
      'dc=example,dc=com' | 'cn=schema' | 'cn=admin data'
      Starting initialization for base DN: 'dc=example,dc=com'
      1160 entries processed (98 % complete).
      1181 entries processed (100 % complete).
      Base DN 'dc=example,dc=com' has been successfully initialized
      Done
      Starting initialization for base DN: 'cn=schema'
      1 entries processed (100 % complete).
      Base DN 'cn=schema' has been successfully initialized
      Done
      Starting initialization for base DN: 'cn=admin data'
      6 entries processed (100 % complete).
      Base DN 'cn=admin data' has been successfully initialized
      Done
      

      In particular these two lines are a bit redundant, repeated for each base DN:

      Base DN 'dc=example,dc=com' has been successfully initialized
      Done
      

      This task can be closed once we only have the "Done" message left.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                michal.severin Michal Severin
                Reporter:
                JnRouvignac Jean-Noël Rouvignac
                Dev Assignee:
                Jean-Noël Rouvignac
                QA Assignee:
                Michal Severin
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: