granewang opened a new pull request, #382:
URL: https://github.com/apache/ranger/pull/382
When the number of policies is very large, such as exceeding 100,000,
the policy file may grow larger than 100MB. In this case, the plugin may take
several seconds or even longer to write the policies to the cache file using
FileWriter. During this process, from clearing to writing the policy file,
there may be issues with insufficient permissions. To resolve this issue, we
can write the policy to a temporary file first and then use an atomic MV (which
can be configured as a parameter) to handle the situation.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]