Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-16572

Sync method in RecoverableZooKeeper failed to pass callback function in

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.1.4, 2.0.0
    • 1.4.0, 2.0.0
    • Zookeeper
    • None
    • Reviewed

    Description

      public void sync(String path, AsyncCallback.VoidCallback cb, Object ctx) throws KeeperException {
          checkZk().sync(path, null, null); //callback function cb is not passed in
        }
      

      It is obvious that the callback method is not passed in. Since sync operation in Zookeeper is a 'async' operation, we need a callback method to notify the caller that the 'sync' operation is finished.

      Attachments

        1. HBASE-16572.patch
          1 kB
          Allan Yang

        Activity

          People

            allan163 Allan Yang
            allan163 Allan Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: