You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Sravya Tirukkovalur (JIRA)" <ji...@apache.org> on 2016/04/12 12:00:28 UTC

[jira] [Updated] (SENTRY-1181) Lock SentryAuthorizationInfo#processUpdates

     [ https://issues.apache.org/jira/browse/SENTRY-1181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sravya Tirukkovalur updated SENTRY-1181:
----------------------------------------
    Attachment: SENTRY-1181.1.patch

> Lock SentryAuthorizationInfo#processUpdates
> -------------------------------------------
>
>                 Key: SENTRY-1181
>                 URL: https://issues.apache.org/jira/browse/SENTRY-1181
>             Project: Sentry
>          Issue Type: Bug
>          Components: Hdfs Plugin
>    Affects Versions: 1.7.0
>            Reporter: Sravya Tirukkovalur
>            Assignee: Sravya Tirukkovalur
>         Attachments: SENTRY-1181.1.patch
>
>
> If processing of update on NN takes more than the cache interval time(default:30 secs), it is possible that two updates will be processed parallely leading to unexpected behavior. We should instead lock the processing of updates so that we ensure they happen sequentially. Also while doing so, we should add a flag like "processingUpdate", which if true, we should never go into stale mode even after threshold time.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)