Skip to content

branch-4.0: [fix](filecache) avoid SIGSEGV in background LRU update when clear cache #60533#61444

Open
github-actions[bot] wants to merge 3 commits into
branch-4.0from
auto-pick-60533-branch-4.0
Open

branch-4.0: [fix](filecache) avoid SIGSEGV in background LRU update when clear cache #60533#61444
github-actions[bot] wants to merge 3 commits into
branch-4.0from
auto-pick-60533-branch-4.0

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Cherry-picked from #60533

…che (#60533)

The background LRU update thread
(BlockFileCache::run_background_block_lru_update) uses cell which is a
raw pointer owned by the cache’s internal _files map and may be unset
during clearing cache.
@github-actions github-actions Bot requested a review from yiguolei as a code owner March 17, 2026 17:59
@hello-stephen
Copy link
Copy Markdown
Contributor

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

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@dataroaring dataroaring reopened this Mar 17, 2026
@hello-stephen
Copy link
Copy Markdown
Contributor

run buildall

yiguolei
yiguolei previously approved these changes Mar 18, 2026
@github-actions
Copy link
Copy Markdown
Contributor Author

PR approved by at least one committer and no changes requested.

@github-actions github-actions Bot added approved Indicates a PR has been approved by one committer. reviewed labels Mar 18, 2026
@github-actions
Copy link
Copy Markdown
Contributor Author

PR approved by anyone and no changes requested.

@freemandealer
Copy link
Copy Markdown
Member

run beut

@freemandealer freemandealer requested a review from morningman as a code owner May 25, 2026 08:27
@freemandealer
Copy link
Copy Markdown
Member

run buildall

@freemandealer
Copy link
Copy Markdown
Member

run buildall

@github-actions github-actions Bot removed the approved Indicates a PR has been approved by one committer. label May 25, 2026
@hello-stephen
Copy link
Copy Markdown
Contributor

BE Regression && UT Coverage Report

Increment line coverage 100.00% (14/14) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 71.38% (25460/35669)
Line Coverage 54.28% (269933/497326)
Region Coverage 51.75% (222999/430939)
Branch Coverage 53.20% (96047/180529)

@freemandealer
Copy link
Copy Markdown
Member

run p0

@hello-stephen
Copy link
Copy Markdown
Contributor

BE Regression && UT Coverage Report

Increment line coverage 100.00% (14/14) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 71.38% (25460/35669)
Line Coverage 54.28% (269951/497326)
Region Coverage 51.76% (223059/430939)
Branch Coverage 53.20% (96048/180529)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants