Uploaded image for project: 'Sentry'
  1. Sentry
  2. SENTRY-2437

When granting privileges a single transaction per grant causes long delays

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.0
    • Component/s: Sentry
    • Labels:
      None

      Description

      Currently sentry creates a transaction for each TSentryPrivilege object it needs to grant. If the list of privileges is very large creating a single transaction for each significantly affects performance. This is particularly impactful for tables with large columns and if a user grants privileges to many of those columns

        Attachments

        1. SENTRY-2437.03.patch
          67 kB
          Arjun Mishra
        2. SENTRY-2437.02.patch
          65 kB
          Arjun Mishra
        3. SENTRY-2437.01.patch
          49 kB
          Arjun Mishra

          Issue Links

            Activity

              People

              • Assignee:
                arjunmishra13 Arjun Mishra
                Reporter:
                arjunmishra13 Arjun Mishra
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: