[
https://issues.apache.org/jira/browse/SENTRY-2106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16343582#comment-16343582
]
Sergio Peña commented on SENTRY-2106:
-------------------------------------
Is there a problem having an extra round trip to HMS? I think the original
problem is that HMS was sending incorrect notification events, no the extra
round trip. If HMS solves the problem, why do we need to make this extra fix on
Sentry to save the round trip?
> Remove sentry dependency on HMS table NOTIFICATION_SEQUENCE when checking if
> Sentry is out-of-sync with HMS
> -----------------------------------------------------------------------------------------------------------
>
> Key: SENTRY-2106
> URL: https://issues.apache.org/jira/browse/SENTRY-2106
> Project: Sentry
> Issue Type: New Feature
> Components: Sentry
> Affects Versions: 2.1.0
> Reporter: Arjun Mishra
> Assignee: Arjun Mishra
> Priority: Major
> Labels: features
> Fix For: 2.1.0
>
> Attachments: SENTRY-2106.01.patch, SENTRY-2106.02.patch,
> SENTRY-2106.03.patch, SENTRY-2106.04.patch, SENTRY-2106.05.patch,
> SENTRY-2106.06.patch
>
>
> After steady state, a full snapshot is triggered by mainly 2 cases
> # Sentry is "ahead"
> # Sentry is behind
> Case 1 has a dependency on NOTIFICATION_SEQUENCE table. This is not reliable
> as it was observed that sometimes NOTIFICATION_SEQUENCE and NOTIFICATION_LOG
> are not in sync. As a result of this unnecessary full snapshots can be
> triggered.
> The fix is to remove this dependency
>
> PLEASE NOTE THAT THIS SHOULD BE COMMITTED WITH SENTRY-2109
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)