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

Create a full snapshot if AUTHZ_PATHS_SNAPSHOT_ID is empty, even if HMS and Sentry Notifications are in sync

    Details

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

      Description

      AUTHZ_PATHS_SNAPSHOT_ID is only populated when a full HMS snapshot is persisted. When initially HDFS Sync is disabled, we will create a full snapshot but never persist it, and at the same time populate SENTRY_HMS_NOTIFICATION_ID table. Later when HDFS sync is enabled, a full snapshot will not occur unless until HMS and Sentry are out of sync. This will result in ACL's not being applied unless until HMS and Sentry are out of sync, since we only send NN snapshots if AUTHZ_PATHS_SNAPSHOT_ID has values greater than 0

      We should create a full snapshot if hdfsSync is enabled, and AUTHZ_PATHS_SNAPSHOT_ID is empty

        Attachments

        1. SENTRY-2046.04.patch
          9 kB
          Arjun Mishra
        2. SENTRY-2046.03.patch
          9 kB
          Arjun Mishra
        3. SENTRY-2046.02.patch
          8 kB
          Arjun Mishra
        4. SENTRY-2046.01.patch
          8 kB
          Arjun Mishra

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: