Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-12943 Consistent Reads from Standby Node
  3. HDFS-14016

ObserverReadProxyProvider should enable observer read by default

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: HDFS-12943, 3.3.0
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      Currently in ObserverReadProxyProvider#invoke, only when observerReadEnabled && isRead(method) is true, the code will check whether to talk to Observer. Otherwise always talk to active. The issue here is that currently it can only be set through setObserverReadEnabled, which is used by tests only. So observer read is always disabled in deployment and no way to enable it. We may want to either expose a configuration key, or hard code it to true so it can only be changed for testing purpose, or simply remove this variable. This is closely related to HDFS-13923.

        Attachments

          Activity

            People

            • Assignee:
              vagarychen Chen Liang
              Reporter:
              vagarychen Chen Liang
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: