[ https://issues.apache.org/jira/browse/KNOX-1552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kevin Risden updated KNOX-1552: ------------------------------- Attachment: KNOX-1552.patch Status: Patch Available (was: In Progress) Patch that cleans up the cache checking and adding of the clusterCache entry with Java 8 computeIfAbsent. > DefaultKeystoreService cache doesn't add entries to cache > --------------------------------------------------------- > > Key: KNOX-1552 > URL: https://issues.apache.org/jira/browse/KNOX-1552 > Project: Apache Knox > Issue Type: Bug > Reporter: Kevin Risden > Assignee: Kevin Risden > Priority: Minor > Fix For: 1.2.0 > > Attachments: KNOX-1552.patch > > > [https://github.com/apache/knox/blob/master/gateway-server/src/main/java/org/apache/knox/gateway/services/security/impl/DefaultKeystoreService.java#L457] > When there is no clusterName entry in the cache, a new clusterCache map is > created. This map is updated but never put back on the cache. This means that > the cache is never being updated properly. -- This message was sent by Atlassian JIRA (v7.6.3#76005)