[ https://issues.apache.org/jira/browse/HDFS-12976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16506688#comment-16506688 ]
Chen Liang commented on HDFS-12976: ----------------------------------- Hey [~csun], I've got another thought when thinking of how implementing msync can leverage this. I've discussed with Konstantin offline also. We may revisit this in a separate Jira. The thing is that, the current patch looks at {{ReadOnly}} to determine if a call should go to observer, meaning if a method is annotated with ReadOnly, it *always* go to Observer, is this the case? Because there may be situations where we want to make a read call to active, which becomes impossible. I guess a more ideal way would probably be having new annotations for observer operation and active options, which is also for better readability. Just want to mention as a TODO item, we can revisit this separately. > Introduce ObserverReadProxyProvider > ----------------------------------- > > Key: HDFS-12976 > URL: https://issues.apache.org/jira/browse/HDFS-12976 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: hdfs-client > Reporter: Konstantin Shvachko > Assignee: Chao Sun > Priority: Major > Attachments: HDFS-12976-HDFS-12943.000.patch, HDFS-12976.WIP.patch > > > {{StandbyReadProxyProvider}} should implement {{FailoverProxyProvider}} > interface and be able to submit read requests to ANN and SBN(s). -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org