Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-3246

Publish more stats when learner gets a diff, full snapshot, or does a truncate when it connects with the leader

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • other

    Description

      Problem
      There is no way to currently tell whether a learner gets a diff or full snapshot, or does a truncate when it connects with the leader, also how long syncing with the leader takes. There is no explicit and general indicator of how often a learner has to connect to a leader without greping through zookeeper.log

      Solution
      Start tracking and exporting the following three items:

      • counter incremented each time a learner sync's with a leader
      • the type of sync that was needed
      • how long the sync took

      Attachments

        Activity

          People

            Unassigned Unassigned
            dineshappavoo Dinesh Appavoo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: