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

Hive metadata changes syncup with Sentry store should not run in error cases

    XMLWordPrintableJSON

    Details

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

      Description

      The Sentry plugin for metastore handles syncing up metadata changes with Sentry store. If a Db or Table is modified (eg drop, alter), then the corresponding privilege adjustments are handled by the plugin.
      This is implemented as a metastore post event listener which is fired even when the operation failed.
      We need to ensure that the syncup only happens when the listener is fired upon successful completion of the operation.

        Attachments

        1. SENTRY-454.1.patch
          3 kB
          Prasad Suresh Mujumdar
        2. SENTRY-454.2.patch
          3 kB
          Prasad Suresh Mujumdar

          Activity

            People

            • Assignee:
              prasadm Prasad Suresh Mujumdar
              Reporter:
              prasadm Prasad Suresh Mujumdar
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: