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

4lw Command: On demand snapshot

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • server
    • Patch

    Description

      Working with disaster recovery scenarios at work, we found that having the capacity of telling a ZooKeeper instance to take a snapshot, thus dumping into files the contents of its view of the internal database, could be a last resource hatch out of potential data loss.

      As an example, imagine that all the voting members of the ensemble are wiped out due a wrong deployment configuration change. A single surviving observer could hold on its memory the last copy of most recently updated the ensemble data. Sending it a snap four letter words command that forced it to save a snapshot of that information into disk could be a very convenient way of recovering the database.

       

      This issue aims to discuss the addition of this feature and serve as the gate for a an already available patch providing this feature.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pfcoperez Pablo Francisco Pérez Hidalgo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 40m
                  2h 40m