[ https://issues.apache.org/jira/browse/SENTRY-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16678510#comment-16678510 ]
Hadoop QA commented on SENTRY-2441: ----------------------------------- Here are the results of testing the latest attachment https://issues.apache.org/jira/secure/attachment/12947235/SENTRY-2441.002.patch against master. {color:green}Overall:{color} +1 all checks pass {color:green}SUCCESS:{color} all tests passed Console output: https://builds.apache.org/job/PreCommit-SENTRY-Build/4230/console This message is automatically generated. > When MAuthzPathsMapping is deleted all associated MPaths should be deleted > automatically. > ----------------------------------------------------------------------------------------- > > Key: SENTRY-2441 > URL: https://issues.apache.org/jira/browse/SENTRY-2441 > Project: Sentry > Issue Type: Bug > Components: Sentry > Affects Versions: 2.2.0 > Reporter: kalyan kumar kalvagadda > Assignee: kalyan kumar kalvagadda > Priority: Major > Attachments: SENTRY-2441.001.patch, SENTRY-2441.002.patch > > > When MAuthzPathsMapping is deleted all associated MPaths should be deleted > automatically as MPaths are directly associated to MAuthzPathsMapping. > > Currently when entries in MAuthzPathsMapping are deleted the FK in MPaths is > set to NULL and the entries are left. These elements are slate are not not > used and will never be cleaned. > > > Instead MPaths should be removed automatically associated MAuthzPathsMapping > entries are deleted. -- This message was sent by Atlassian JIRA (v7.6.3#76005)