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

ASF subversion and git services commented on KNOX-1254:
-------------------------------------------------------

Commit d0aa9ec73f747554be8d588fa9db66fead26da5e in knox's branch 
refs/heads/master from [~moresandeep]
[ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=d0aa9ec ]

KNOX-1254 - Make sure Remote Alias Registry prefers remote over local


> Remote Alias Service Preferring Local Cluster Password Alias To Remote
> ----------------------------------------------------------------------
>
>                 Key: KNOX-1254
>                 URL: https://issues.apache.org/jira/browse/KNOX-1254
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 1.1.0
>            Reporter: Phil Zampino
>            Assignee: Sandeep More
>            Priority: Major
>             Fix For: 1.1.0
>
>
> In RemoteAliasService#getPasswordFromAliasForCluster(String clusterName, 
> String givenAlias, boolean generate), the local alias value is checked before 
> the remote value.
> I think we should be preferring the remote value, in case this method is 
> invoked during a window of time between the remote registry being modified 
> and the gateway listener responding to that change. Eventually, the two 
> should be the same, but there is the potential for them to differ for some 
> period of time.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to