[
https://issues.apache.org/jira/browse/SENTRY-2370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16596808#comment-16596808
]
Alexander Kolbasov commented on SENTRY-2370:
--------------------------------------------
Can you elaborate on the caching strategy? Is it only for the case when NN
failed to get a full snapshot? How do you invalidate the cache if something
changed since then?
> Create a cache of PathUpdates to send to NN
> -------------------------------------------
>
> Key: SENTRY-2370
> URL: https://issues.apache.org/jira/browse/SENTRY-2370
> Project: Sentry
> Issue Type: Sub-task
> Components: Sentry
> Affects Versions: 2.1.0
> Reporter: Arjun Mishra
> Assignee: Arjun Mishra
> Priority: Major
> Attachments: SENTRY-2370.01.patch, SENTRY-2370.02.patch
>
>
> When NN requests path updates from sentry and if it exceeds the time
> threshold, on consecutive attempts sentry will attempt to fetch the full
> update from scratch. Instead it should cache it and update the cache before
> sending it to NN.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)