Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-7593 Supporting HSync and lease recovery
  3. HDDS-11174

[hsync] Change XceiverClientRatis.watchForCommit to async

    XMLWordPrintableJSON

Details

    Description

      In the code below, it should just return the replyFuture instead of calling CompletableFuture.get(). This change is useful for HDDS-9844.

      //XceiverClientRatis.watchForCommit
            CompletableFuture<RaftClientReply> replyFuture = getClient().async().watch(index, watchType);
            final RaftClientReply reply = replyFuture.get();
      

      Attachments

        Issue Links

          Activity

            People

              szetszwo Tsz-wo Sze
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: