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

DefaultSentryValidator is not caching privileges when authorizing SHOW DATABASE or TABLES command

    XMLWordPrintableJSON

Details

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

    Description

      When we run a SHOW DATABASES or SHOW TABLES command on the Hive side, the bindings we create or this check is not with a cache of privileges. This makes the authorization checks slow as for every database/table authorization, request is sent to the Sentry server which pulls privileges from the database. Having a cache will fix this problem

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: