You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Simbarashe Dzinamarira (Jira)" <ji...@apache.org> on 2023/05/26 19:55:00 UTC

[jira] [Created] (HDFS-17027) RBF: Add supports for observer.auto-msync-period when using routers

Simbarashe Dzinamarira created HDFS-17027:
---------------------------------------------

             Summary: RBF: Add supports for observer.auto-msync-period when using routers
                 Key: HDFS-17027
                 URL: https://issues.apache.org/jira/browse/HDFS-17027
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Simbarashe Dzinamarira


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 
# Not use observer reads
# Use observer reads with the risk of stale reads
# 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.






--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org