Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-3816 Erasure Coding
  3. HDDS-5954

EC: Review the TODOs in GRPC Xceiver client and fix them.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Abandoned
    • None
    • None
    • None

    Description

      Currently there are 4 TODO-s in the GRPC client.
      1. L331 adds a note that we should cache the current leader, so that we can go to the leader next time.
      2. L422 adds a note about sendCommandAsync, which states that it is not async. The code on the other hand seems to be returning a CompletableFuture instance wrapped inside an XceiverClientReply, though sometimes we wait on the future before really returning.
      3. L452 notes that async requests are served out of order, and this should be revisited if we make the API async.
      4. L483 is connected to #2, and it notes that we should reuse stream observers if we are going down the async route

      The latter three requires deeper investigation and understanding, to see how we can approach fixing it, and to figure out whether we really need to fix it.

      Attachments

        Issue Links

          Activity

            People

              pifta István Fajth
              umamaheswararao Uma Maheswara Rao G
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: