Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7240 Scaling HDFS
  3. HDFS-12329

Ozone: Ratis: Readonly calls in XceiverClientRatis should use sendReadOnly

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • HDFS-7240
    • HDFS-7240
    • ozone
    • Reviewed

    Description

      Currently both write and readonly calls in Ratis use RaftClient.send which enqueues the the request to the raft log and is processed later when the log entry is consumed.

      Readonly call can be optimized by using RaftClient.sendReadOnly which will directly query the RaftServer for a particular request.

      This jira will be used to discuss this issue.

      Attachments

        1. HDFS-12329-HDFS-7240.004.patch
          6 kB
          Mukul Kumar Singh
        2. HDFS-12329-HDFS-7240.003.patch
          5 kB
          Mukul Kumar Singh
        3. HDFS-12329-HDFS-7240.002.patch
          5 kB
          Mukul Kumar Singh
        4. HDFS-12329-HDFS-7240.001.patch
          5 kB
          Mukul Kumar Singh

        Activity

          People

            msingh Mukul Kumar Singh
            msingh Mukul Kumar Singh
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: