Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[enhance](auth)support cache ranger datamask and row filter (#37723) #38575

Merged
merged 2 commits into from
Aug 2, 2024

Conversation

zddr
Copy link
Contributor

@zddr zddr commented Jul 31, 2024

pick: #37723

…7723)

The Ranger plugin is relatively slow in obtaining datamask and row
filter policies, and the time consumed will become slower as the number
of policies configured on the Ranger increases

optimized logic:
cache result in memory of doris, cache will invalidate when ranger
plugin discover policy updates

before:

mysql> select * from zd.user;
Empty set (0.19 sec)


after:

mysql> select * from zd.user;
Empty set (0.06 sec)
@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@zddr
Copy link
Contributor Author

zddr commented Jul 31, 2024

run buildall

@zddr
Copy link
Contributor Author

zddr commented Aug 2, 2024

run buildall

@morningman morningman merged commit 2425730 into apache:branch-2.1 Aug 2, 2024
20 of 21 checks passed
yiguolei pushed a commit that referenced this pull request Aug 5, 2024
… without repeated deserialization. (#37377) (#38245) (#38810)

## Proposed changes
pick pr: #38575  and fix this pr bug :  #38245
@yiguolei yiguolei mentioned this pull request Sep 5, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants