You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Abhay Kulkarni (Jira)" <ji...@apache.org> on 2021/12/16 04:35:00 UTC
[jira] [Comment Edited] (RANGER-3554) [Intermittent] API call to fetch the list of policies for a particular service repo returns a deleted policy in the response
[ https://issues.apache.org/jira/browse/RANGER-3554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17460404#comment-17460404 ]
Abhay Kulkarni edited comment on RANGER-3554 at 12/16/21, 4:34 AM:
-------------------------------------------------------------------
Credits: [~abhishek.patil] for uncovering the issue, [~madhan@apache.org] for suggesting a fix
was (Author: abhayk):
Credit [~abhishek.patil]
> [Intermittent] API call to fetch the list of policies for a particular service repo returns a deleted policy in the response
> ----------------------------------------------------------------------------------------------------------------------------
>
> Key: RANGER-3554
> URL: https://issues.apache.org/jira/browse/RANGER-3554
> Project: Ranger
> Issue Type: Bug
> Components: Ranger
> Reporter: Abhay Kulkarni
> Assignee: Abhay Kulkarni
> Priority: Major
>
> Multiple tests are executed during the test run, and the flow of the tests is as follows:-
> # A set of policies needed for the test are created for a Ranger service.
> # Tests are run.
> # All existing policies in the Ranger service are deleted by fetching all policies in the service, and deleting them one-by-one. Each delete call are successful.
> # All policies in the Ranger service are fetched to ensure that no policies are remaining in the Ranger service.
> It is expected that in step 4, no policies are returned. However, intermittently, step 4 returns policy that is deleted in step 3.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)