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

Optimize deleting specific paths for objects

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      Right now when we process a drop partition event, we fetch each path object for paths_mapping object then find the one we want to delete and then delete it. We should avoid fetching all objects and directly delete the path that needs to be deleted

      This affects, deleteAuthzPathsMapping, renameAuthzPathsMapping, updateAuthzPathsMapping, and addAuthzPathsMappingCore methods that are known at the moment

      Attachments

        1. SENTRY-2476.01.patch
          3 kB
          Arjun Mishra
        2. SENTRY-2476.02.patch
          7 kB
          Arjun Mishra
        3. SENTRY-2476.03.patch
          7 kB
          Arjun Mishra
        4. SENTRY-2476.04.patch
          20 kB
          Arjun Mishra

        Issue Links

          Activity

            People

              arjunmishra13 Arjun Mishra
              arjunmishra13 Arjun Mishra
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: