StarRocks / starrocks

The world's fastest open query engine for sub-second analytics both on and off the data lakehouse. With the flexibility to support nearly any scenario, StarRocks provides best-in-class performance for multi-dimensional analytics, real-time analytics, and ad-hoc queries. A Linux Foundation project.
https://starrocks.io
Apache License 2.0
9.08k stars 1.82k forks source link

[BugFix] Fix incorrect directory replacement in datacache for old persistent cache data. #52969

Closed GavinMar closed 4 days ago

GavinMar commented 4 days ago

Why I'm doing:

The old datacache directory replacement logic cause the incorrect data location and may cause BE crash when starting.

What I'm doing:

Fix incorrect directory replacement in datacache for old persistent cache data.

What type of PR is this:

Does this PR entail a change in behavior?

If yes, please specify the type of change:

Checklist:

Bugfix cherry-pick branch check:

github-actions[bot] commented 4 days ago

[Java-Extensions Incremental Coverage Report]

:white_check_mark: pass : 0 / 0 (0%)

github-actions[bot] commented 4 days ago

[FE Incremental Coverage Report]

:white_check_mark: pass : 0 / 0 (0%)

github-actions[bot] commented 4 days ago

[BE Incremental Coverage Report]

:white_check_mark: pass : 2 / 2 (100.00%)

file detail

path covered_line new_line coverage not_covered_line_detail
:large_blue_circle: be/src/block_cache/datacache_utils.cpp 2 2 100.00% []