Uploaded image for project: 'Sentry (Retired)'
  1. Sentry (Retired)
  2. SENTRY-2553

Auth path is not deleted in db after dropping table

Add voteWatch issue
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 2.2.0
    • None
    • Sentry, sentrystore
    • None

    Description

      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.

      Attachments

        1. SENTRY-2553.001.patch
          2 kB
          ouchengeng

        Issue Links

          Activity

            People

              Unassigned Unassigned
              chengeng ouchengeng

              Dates

                Created:
                Updated:

                Slack

                  Issue deployment