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: [email protected]
For additional commands, e-mail: [email protected]