Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-17027

RBF: Add supports for observer.auto-msync-period when using routers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.0
    • 3.4.0
    • rbf
    • Reviewed

    Description

      None-RBF clients that use observer reads have the option to set dfs.client.failover.observer.auto-msync-period.<nameservice> . This config makes the client automatically do an msync, allowing clients to use the observer reads feature without any code change.

      To use observer reads with RBF, clients set dfs.client.rbf.observer.read.enable. The way this flag is implemented does not allow clients to use the auto-msync-period config. So with RBF, clients either have to

      1. Not use observer reads
      2. Use observer reads with the risk of stale reads
      3. Make code changes to explicitly call msync.

      We should add support for dfs.client.failover.observer.auto-msync-period.<nameservice>. This can be done by adding a ProxyProvider, in a similar manner to the ObserverReadProxyProvider.

      Attachments

        Issue Links

          Activity

            People

              simbadzina Simbarashe Dzinamarira
              simbadzina Simbarashe Dzinamarira
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: