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

Ramachandran commented on RANGER-2271:
--------------------------------------


This issue will be fixed as part of the below patch:
 https://reviews.apache.org/r/74221 (addresses multiple KMS issues)
Refer: RANGER-3989

 cc >> Madhan Neethiraj


> RangerKeyStoreProvider#createKey() should write persistent store first before 
> writing to cache 
> -----------------------------------------------------------------------------------------------
>
>                 Key: RANGER-2271
>                 URL: https://issues.apache.org/jira/browse/RANGER-2271
>             Project: Ranger
>          Issue Type: Bug
>          Components: kms
>            Reporter: Xinli Shang
>            Assignee: Ramachandran
>            Priority: Major
>
> Inside RangerKeyStoreProvider#createKey(), the code write cache first 
>             cache.put(name, meta);
> Then write to keyStore
>         innerSetKeyVersion(...)
>  
> If innerSetKeyVersion() failed, the cache will have the key which doesn't 
> exist in keyStore. 
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to