Uploaded image for project: 'Sentry (Retired)'
  1. Sentry (Retired)
  2. SENTRY-872 Uber jira for HMS HA + Sentry HA redesign
  3. SENTRY-1483

HMS plugin should wait until Sentry handles the update before continuing.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • hive_plugin_v2, 2.0.0
    • 2.0.0
    • Hive Plugin, Sentry
    • None

    Description

      Once Sentry switches to HMS notifications which are processed asynchronously we have problem with session consistency.

      Suppose that we have a session which creates a table and then grants permissions to it. The table create is handled as HMS notification event and will eventually reach Sentry. The DDL with permission grant is in-line and is likely to reach Sentry before the table create request. This will cause the grant to unexpectedly fail although it is a perfectly valid operation.

      The proposed solution is to include a "sync barrier" RPC call to Sentry which will block until the specified notification ID is processed by Sentry. Every HMS operation that generates notifications for Sentry should be followed by such sync call.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              akolb Alex Kolbasov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: