Skip to content

[Improvement](Cache) lru support evict expired entries#19858

Closed
hqx871 wants to merge 11 commits intoapache:masterfrom
hqx871:lru_expire.hqx
Closed

[Improvement](Cache) lru support evict expired entries#19858
hqx871 wants to merge 11 commits intoapache:masterfrom
hqx871:lru_expire.hqx

Conversation

@hqx871
Copy link
Contributor

@hqx871 hqx871 commented May 19, 2023

Proposed changes

Lru cache support evict expired entries.

Problem summary

When the LRUCache is full and there are slow queries which scan a lot of bytes, the LRUCache may have side effect. We can avoid this by evict expired entries using background thread every minute.

Checklist(Required)

  • Does it affect the original behavior
  • Has unit tests been added
  • Has document been added or modified
  • Does it need to update dependencies
  • Is this PR support rollback (If NO, please explain WHY)

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

@hqx871

This comment was marked as outdated.

@hqx871 hqx871 changed the title lru support evict expired entries [Improvement](Cache) lru support evict expired entries May 19, 2023
@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

1 similar comment
@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

huangqixiang.871 added 2 commits May 19, 2023 14:15
@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

1 similar comment
@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@hqx871
Copy link
Contributor Author

hqx871 commented May 19, 2023

run buildall

@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@hqx871
Copy link
Contributor Author

hqx871 commented May 19, 2023

run buildall

@hqx871
Copy link
Contributor Author

hqx871 commented May 19, 2023

run buildall

@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@hqx871
Copy link
Contributor Author

hqx871 commented May 19, 2023

run buildall

@hqx871
Copy link
Contributor Author

hqx871 commented May 19, 2023

run buildall

@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@hqx871
Copy link
Contributor Author

hqx871 commented May 19, 2023

run buildall

@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@hqx871 hqx871 closed this May 19, 2023
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.

1 participant