Phil Zampino created KNOX-1254:
----------------------------------

             Summary: 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
             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