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

HMSFollower should handle notifications even if HDFS sync is disabled.

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: Sentry
    • Labels:
      None

      Description

      Currently, Sentry does not start HMSFollower when HDFS sync is disabled. This breaks PERM sync. For example, when a table/database is dropped, its permission should be removed when perm sync is enabled. Without HMSFollower, Sentry does not know when table/database is dropped, and therefore, cannot remove the permission accordingly.

      Sentry needs to make updates to have the follow behavior
      1) When HDFS sync is disabled + PERM sync is disabled, do not start HMSFollower
      2) when HDFS sync is enabled or PERM sync is enabled, start HMSFollower (Sentry change).
      3) when HDFS sync is enabled, we save path change and perm change. nothing more.
      4) when perm sync is enabled, we update perm when table/database is created, dropped or altered, nothing more.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                linaataustin Na Li
                Reporter:
                linaataustin Na Li
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: