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

Sync method in RecoverableZooKeeper failed to pass callback function in

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.4, 2.0.0
    • Fix Version/s: 1.4.0, 2.0.0
    • Component/s: Zookeeper
    • Labels:
      None
    • Hadoop Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: