siw36 opened a new pull request #20: fixed log message for privilege revocation
URL: https://github.com/apache/sentry/pull/20
 
 
   When `revokeAllPrivilegesIfRequired` gets called, the variable 
`consecutiveUpdateFailuresCount` does get set to `0` before the log message is 
written.
   
   This causes the logs to always show that the cache update failed for 0 times:
   
   ```
   RROR org.apache.sentry.provider.db.generic.UpdatableCache: Failed to update 
roles and privileges cache for 0 times. Revoking all privileges from cache, 
which will cause all authorization requests to fail.
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to