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/05 22:46:25 UTC
[jira] [Created] (SENTRY-1181) Lock
SentryAuthorizationInfo#processUpdates
Sravya Tirukkovalur created SENTRY-1181:
-------------------------------------------
Summary: 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
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)