[ 
https://issues.apache.org/jira/browse/HDFS-14812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16921481#comment-16921481
 ] 

Mohammad Arshad commented on HDFS-14812:
----------------------------------------

{quote}
I think it was there but was removed post this comment : 
{quote}
Hi [~ayushtkn], it was neither added not removed any time during HDFS-13443 
implementation.

HDFS-13443 is updating mount table cache, it is not updating any other cache(it 
is not updating RouterState cache also).
Running routers list is fetched from RouterState cache. If RouterState cache 
gives stale information, we may NOT send mount table cache update request to 
some routers OR send request to wrong routers.
RouterState can give stale information when any new router is added just before 
add/update/delete mount table entry request or router state is changed just 
before these operations.
So I think it is reasonable to update RouterState cache before getting running 
router information.

> RBF: MountTableRefresherService should load cache when refresh
> --------------------------------------------------------------
>
>                 Key: HDFS-14812
>                 URL: https://issues.apache.org/jira/browse/HDFS-14812
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: xuzq
>            Assignee: xuzq
>            Priority: Major
>         Attachments: HDFS-14812-trunk-001.patch, HDFS-14812-trunk-002.patch
>
>
> MountTableRefresherService should load routerStore when refresh mount table.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to