You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Binhua Hu (Jira)" <ji...@apache.org> on 2022/11/16 06:20:00 UTC

[jira] [Created] (RANGER-3968) The plugin cannot download the latest policy

Binhua Hu created RANGER-3968:
---------------------------------

             Summary: The plugin cannot download the latest policy
                 Key: RANGER-3968
                 URL: https://issues.apache.org/jira/browse/RANGER-3968
             Project: Ranger
          Issue Type: Improvement
          Components: admin
    Affects Versions: 2.2.0, 1.2.0
            Reporter: Binhua Hu
            Assignee: Binhua Hu


Rangeradmin's download and query interfaces depend on RangerServicePoliciesCache to provide policy information.When a thread starts to update the cache, other threads can only obtain the previous historical information.In PolicyLoaderThread, the data is read from the database. If the socket timeout is not set, the application will wait indefinitely before the database returns the results.It will lead to failure to obtain the latest policy information before restarting the application



--
This message was sent by Atlassian Jira
(v8.20.10#820010)