Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.4.0
-
Reviewed
Description
Serving reads consistently from Observer Namenodes is a feature that was introduced in HDFS-12943.
Clients opt-into this feature by configuring the ObserverReadProxyProvider. It is important that the opt-in is explicit because for third-party reads to remain consistent, these clients then need to perform an msync before reads.
In HDFS-13522, the ClientGSIContext is implicitly added to the DFSClient thus enabling Observer reads for all clients by default. This breaks consistency guarantees for clients that haven't opted into observer reads.
We need to return to the old behavior of only using the ClientGSIContext when users have explicitly opted into Observer reads.
Attachments
Issue Links
- is related to
-
HDFS-13522 HDFS-13522: Add federated nameservices states to client protocol and propagate it between routers and clients.
- Resolved
-
HDFS-16827 [RBF SBN] RouterStateIdContext shouldn't update the ResponseState if client doesn't use ObserverReadProxyProvider
- Open
- links to