sentry icon indicating copy to clipboard operation
sentry copied to clipboard

fixed log message for privilege revocation

Open siw36 opened this issue 5 years ago • 0 comments

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.

siw36 avatar Oct 08 '19 18:10 siw36