laserninja commented on issue #10978:
URL: https://github.com/apache/gravitino/issues/10978#issuecomment-4394560150

   Might be cache issue. 
   There appear to be two concurrent requests hitting the server at 09:29. One 
on iceberg-rest-40 (re-loading catalog) and one on iceberg-rest-41 (checking 
authorization). The thread on iceberg-rest-41 performs the loadView 
authorization check before the policy re-loading on the async thread pool 
completes. 
   From the logs: at 09:29:44.828 USE_CATALOG ---> false (fail), but at 
09:29:55.020 USE_CATALOG ---> true (success). The ~10 second gap might be 
enough for the async policy re-loading to complete.
   May be we can skip deleteting policies from the enforcer until new ones are 
ready.


-- 
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]

Reply via email to