[ 
https://issues.apache.org/jira/browse/RANGER-4592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Anand Nadar updated RANGER-4592:
--------------------------------
    Description: 
1. Create a dataset using POST - /gds/dataset
2. Create a datashare using POST - /gds/datashare
3. Link both the above created dataset and datashare using POST 
/gds/datashare/dataset
4. Delete the association created in step 3 using DELETE 
/gds/datashare/dataset/\{datashareInDatasetId}

When step 4 is performed, only the gds version in x_ranger_global state is 
incremented. But the service specific gds version in x_service_version_info 
table is not incremented.

  was:
1. Create a dataset using POST - /gds/dataset
2. Create a datashare using POST - /gds/datashare
3. Link both the above created dataset and datashare using POST 
/gds/datashare/dataset
4. Delete the association created in step 3 using DELETE 
/gds/datashare/dataset/\{datashareInDatasetId}

When step 4 is performed, only the gds version in x_ranger_global state is 
incremented. The service specific gds version in x_service_version_info table 
is not incremented.


> GDS: Service specific gds version is not updated when DataShareInDataset is 
> deleted
> -----------------------------------------------------------------------------------
>
>                 Key: RANGER-4592
>                 URL: https://issues.apache.org/jira/browse/RANGER-4592
>             Project: Ranger
>          Issue Type: Bug
>          Components: admin
>            Reporter: Anand Nadar
>            Priority: Major
>
> 1. Create a dataset using POST - /gds/dataset
> 2. Create a datashare using POST - /gds/datashare
> 3. Link both the above created dataset and datashare using POST 
> /gds/datashare/dataset
> 4. Delete the association created in step 3 using DELETE 
> /gds/datashare/dataset/\{datashareInDatasetId}
> When step 4 is performed, only the gds version in x_ranger_global state is 
> incremented. But the service specific gds version in x_service_version_info 
> table is not incremented.



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

Reply via email to