You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "ouchengeng (Jira)" <ji...@apache.org> on 2020/03/19 08:58:00 UTC

[jira] [Updated] (SENTRY-2553) Auth path is not deleted in db when dropping table

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

ouchengeng updated SENTRY-2553:
-------------------------------
    Summary: Auth path is not deleted in db when dropping table  (was: Auth path is not deleted in mysql when dropping table)

> Auth path is not deleted in db 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
>            Priority: Major
>
> 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)