ouchengeng created SENTRY-2553:
----------------------------------

             Summary: Auth path is not deleted in mysql when dropping table
                 Key: SENTRY-2553
                 URL: https://issues.apache.org/jira/browse/SENTRY-2553
             Project: Sentry
          Issue Type: Bug
          Components: Sentry, sentrystore
    Affects Versions: 2.2.0
            Reporter: ouchengeng


SENTRY-2249 made pathsToPersist detached from MAuthzPathsMapping.

So, deleting MAuthzPathsMapping object won't deleting paths in Mysql, and these 
paths are kept in Mysql as garbage. This happens when processing drop_table 
events.

We need to delete pathsToPersist, before deleting a MAuthzPathsMapping object.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to