[
https://issues.apache.org/jira/browse/SENTRY-1463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15603572#comment-15603572
]
Sravya Tirukkovalur commented on SENTRY-1463:
---------------------------------------------
Code changes look good to me. +1
> Ensure HMS point-in-time snapshot consistency
> ---------------------------------------------
>
> Key: SENTRY-1463
> URL: https://issues.apache.org/jira/browse/SENTRY-1463
> Project: Sentry
> Issue Type: Sub-task
> Components: Sentry
> Affects Versions: sentry-ha-redesign
> Reporter: Hao Hao
> Assignee: Hao Hao
> Fix For: sentry-ha-redesign
>
> Attachments: SENTRY-1463.001-sentry-ha-redesign.patch,
> SENTRY-1463.002-sentry-ha-redesign.patch,
> SENTRY-1463.003-sentry-ha-redesign.patch,
> SENTRY-1463.004-sentry-ha-redesign.patch,
> SENTRY-1463.005-sentry-ha-redesign.patch,
> SENTRY-1463.006-sentry-ha-redesign.patch,
> SENTRY-1463.007-sentry-ha-redesign.patch
>
>
> During HMSFollower start up, when retrieving HMS full snapshot, also need to
> ensure point-in-time snapshot consistency.
> It should be:
> * Read current HMS notification ID_initial
> * Read HMS metadata state
> * Read current notification ID_new
> * If ID_initial != ID_new then discard the current state and goto 1.
> Use configurable property: sentry.hms.snapshot.retries.max.count for max
> number of retry.
> Ideally, during fetching full snapshot, there should be no write activity on
> the HMS.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)