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)

Reply via email to