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

dsrepl status: add --watch argument

    Details

    • Type: New Feature
    • Status: Dev backlog
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 7.0.0
    • Fix Version/s: None
    • Component/s: monitoring, replication, tools
    • Labels:
      None

      Description

      As a user I would like to get an idea of the status of the whole directory service without being misguided by transient glitches / problems.

      In a dynamic environment, transient problems can happen, but they tend to resolve automatically thanks to mechanism built-in into DS. For example, occasionally some replay delays may go higher than expected, and then they stabilize after some time, or a replica may connect to an RS from another group, due to a temporary unavailability of the RS of its group ; but when this RS becomes available, the replica will switch back to it.

      In order to make it easier and faster to review this dynamic information, a user could run something like watch dsrepl status ....
      However this solution has a few problems: restarting the command means spawning a new JVM again with all its startup costs, loading up the tool classes, establishing connections again, particularly TLS ones, etc.
      It would be more efficient, and thus a better user experience if dsrepl status offered a --watch argument that would refresh its display regularly.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                JnRouvignac Jean-Noël Rouvignac
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated: