[ 
https://issues.apache.org/jira/browse/SENTRY-1760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16005437#comment-16005437
 ] 

Na Li commented on SENTRY-1760:
-------------------------------

[~spena] the notification ID is updated in DB even when exception happens 
during processing the event. See Kalyan's update in 
https://reviews.apache.org/r/58975/diff/5#4 line 554-556

The reason there is a gap between  last stored notification in sentry store and 
the smallest notification available from HMS could be caused by sentry was down 
for a while, and HMS has removed some updates from meta store. There is no way 
to get those missing notifications in meta store, but missed by sentry. So 
sentry has to get full update.

> HMSFollower should detect when a full snapshot from HMS is required
> -------------------------------------------------------------------
>
>                 Key: SENTRY-1760
>                 URL: https://issues.apache.org/jira/browse/SENTRY-1760
>             Project: Sentry
>          Issue Type: Sub-task
>          Components: Sentry
>    Affects Versions: sentry-ha-redesign
>            Reporter: Alexander Kolbasov
>            Assignee: Sergio Peña
>            Priority: Blocker
>             Fix For: sentry-ha-redesign
>
>
> The current criteria for getting a full snapshot from HMS is insufficient. We 
> need to get full snapshot every time when there is a gap between last stored 
> notification and the smallest notification available from HMS.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to