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

HMSFollower keep getting full snapshot when HDFS is disabled

    XMLWordPrintableJSON

    Details

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

      Description

      Sergio found that when HDFS sync is disabled, full snapshot is not persisted into data store. However, when data store is empty, we decide to get full snapshot. Therefore, every run, we get full snapshot from HMS. This causes big overhead.

      The solution is to check if the notification ID table is empty or not because even when HDFS sync is disabled, we still persist the notification ID into notification ID table.

        Attachments

        1. SENTRY-1890.001.patch
          4 kB
          Na Li
        2. SENTRY-1890.002.patch
          5 kB
          Na Li

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: