You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "vyommani (via GitHub)" <gi...@apache.org> on 2026/08/06 09:08:04 UTC
[PR] RANGER-5678: Concurrent policy-engine rebuild on shared serviceDef ca… [ranger]
vyommani opened a new pull request, #1141:
URL: https://github.com/apache/ranger/pull/1141
…uses CME/NPE for delegated-admin User
## What changes were proposed in this pull request?
this patch is built on top of Madhan's approach.
normalize() is correctly protected in the base patch, but ServiceDefUtil.normalizeAccessTypeDefs() — called separately right after it in RangerPolicyRepository and PolicyEngine — was still mutating the shared serviceDef's access-type lists with no synchronization. This PR moves that logic into RangerServiceDef with the same double-checked-locking pattern already used for normalize(), and updates both call sites.
## How was this patch tested?
Includes a concurrency test that fails against the base patch alone, and passes once this fix is applied on top.
--
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.
To unsubscribe, e-mail: dev-unsubscribe@ranger.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] RANGER-5678: Concurrent policy-engine rebuild on shared serviceDef ca… [ranger]
Posted by "kumaab (via GitHub)" <gi...@apache.org>.
kumaab merged PR #1141:
URL: https://github.com/apache/ranger/pull/1141
--
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.
To unsubscribe, e-mail: dev-unsubscribe@ranger.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org