ZanderXu commented on PR #4441: URL: https://github.com/apache/hadoop/pull/4441#issuecomment-1157696846
> We know observer can not guarantee strong consistency, maybe some use have high demand, they wanna disable observe read, though few user have this demand. Only a very small number of users have high demand, and in most cases, the client enables ObserverRead default. In other words: In most cases, there is no need for client to pass the ObserverRead enable flag to RBF. So only a very small number of requests need to carry a specific flag bit to RBF, so that the RBF can force an msync to ensure the consistency before proxying the request. There are serval methods for the client side to carry the force consistency flag to RBF: 1. Carry a special StateID to RBF, such as -100 (Client Process level) 2. Carry a special filed attributes to RBF through CallerContext (single RPC level) 3. etc.. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
