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

Auth path is not deleted in db after dropping table

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.2.0
    • Fix Version/s: None
    • Component/s: Sentry, sentrystore
    • Labels:
      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

              • Assignee:
                Unassigned
                Reporter:
                chengeng ouchengeng
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: