[
https://issues.apache.org/jira/browse/KNOX-2134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16998893#comment-16998893
]
ASF subversion and git services commented on KNOX-2134:
-------------------------------------------------------
Commit eac453ecc8f986dd852fc08a65aa2d0b3c08437f in knox's branch
refs/heads/master from Sandor Molnar
[ https://gitbox.apache.org/repos/asf?p=knox.git;h=eac453e ]
KNOX-2134 - Checking if password/alias is available via local alias service
before going to fetch it from remote ZK server (#218)
* KNOX-2134 - Formatted code and did a minor cleanup
* KNOX-2134 - Checking if password/alias is available via local alias service
before going to fetch it from remote ZK server
> Add caching to ZookeeperRemoteAliasService
> ------------------------------------------
>
> Key: KNOX-2134
> URL: https://issues.apache.org/jira/browse/KNOX-2134
> Project: Apache Knox
> Issue Type: Bug
> Components: Server
> Affects Versions: 1.3.0
> Reporter: Philip Zampino
> Assignee: Sandor Molnar
> Priority: Major
> Fix For: 1.4.0
>
> Time Spent: 2h 40m
> Remaining Estimate: 0h
>
> The ZookeeperRemoteAliasService implementation always goes to ZooKeeper to
> retrieve alias data. Instead, it should cache the data locally to make
> password retrieval much faster.
> The implementation already receives pushes from ZooKeeper when alias znodes
> change, so instead of only updating the associated local alias service, it
> can also update its own cache.
> This way, it only ever needs to go to ZooKeeper for add/remove operations.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)