Skip to content

[fix](checker) Fix checking inverted index file incorrectly - #53876

Merged
dataroaring merged 2 commits into
apache:masterfrom
wyxxxcat:fix_checker
Aug 2, 2025
Merged

[fix](checker) Fix checking inverted index file incorrectly#53876
dataroaring merged 2 commits into
apache:masterfrom
wyxxxcat:fix_checker

Conversation

@wyxxxcat

Copy link
Copy Markdown
Collaborator

What problem does this PR solve?

Issue Number: close #xxx

Related PR: #xxx

Problem Summary:

Release note

None

Check List (For Author)

  • Test

    • Regression test
    • Unit Test
    • Manual test (add detailed scripts or steps below)
    • No need to test or manual test. Explain why:
      • This is a refactor/code format and no logic has been changed.
      • Previous test can cover this change.
      • No code files have been changed.
      • Other reason
  • Behavior changed:

    • No.
    • Yes.
  • Does this need documentation?

    • No.
    • Yes.

Check List (For Reviewer who merge this PR)

  • Confirm the release note
  • Confirm test cases
  • Confirm document
  • Add branch pick label

@Thearas

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?

@wyxxxcat
wyxxxcat marked this pull request as ready for review July 25, 2025 08:23
@wyxxxcat

Copy link
Copy Markdown
CollaboratorAuthor

run buildall

Comment threadcloud/src/recycler/checker.cpp
Comment threadcloud/src/recycler/checker.cpp Outdated
@hello-stephen

Copy link
Copy Markdown
Contributor

Cloud UT Coverage Report

Increment line coverage 41.86% (90/215) 🎉

Increment coverage report
Complete coverage report

CategoryCoverage
Function Coverage80.42% (1302/1619)
Line Coverage65.79% (21996/33434)
Region Coverage66.96% (10989/16411)
Branch Coverage56.48% (5782/10238)

@wyxxxcat

Copy link
Copy Markdown
CollaboratorAuthor

run buildall

@hello-stephen

Copy link
Copy Markdown
Contributor

Cloud UT Coverage Report

Increment line coverage 41.63% (87/209) 🎉

Increment coverage report
Complete coverage report

CategoryCoverage
Function Coverage80.38% (1303/1621)
Line Coverage65.67% (21848/33270)
Region Coverage66.92% (10984/16414)
Branch Coverage56.47% (5781/10238)

@github-actions

Copy link
Copy Markdown
Contributor

PR approved by anyone and no changes requested.

Comment threadcloud/src/recycler/checker.h Outdated
Comment threadcloud/src/recycler/checker.h Outdated
Comment threadcloud/src/recycler/checker.cpp Outdated
@wyxxxcat
wyxxxcatforce-pushed the fix_checker branch 3 times, most recently from f996706 to 4c75035CompareJuly 29, 2025 07:10
@wyxxxcat

Copy link
Copy Markdown
CollaboratorAuthor

run buildall

@wyxxxcat

Copy link
Copy Markdown
CollaboratorAuthor

run buildall

dataroaring
dataroaring previously approved these changes Jul 29, 2025

@dataroaringdataroaring left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wyxxxcat
wyxxxcat dismissed stale reviews from gavinchou and dataroaring via e9207d5July 31, 2025 07:03
@wyxxxcat

Copy link
Copy Markdown
CollaboratorAuthor

run buildall

@hello-stephen

Copy link
Copy Markdown
Contributor

Cloud UT Coverage Report

Increment line coverage 80.09% (169/211) 🎉

Increment coverage report
Complete coverage report

CategoryCoverage
Function Coverage80.71% (1343/1664)
Line Coverage65.83% (23215/35266)
Region Coverage66.97% (11505/17180)
Branch Coverage56.56% (6035/10670)

@Yukang-Lian

Copy link
Copy Markdown
Collaborator

run cloud_p0

@github-actions

Copy link
Copy Markdown
Contributor

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

@github-actionsgithub-actionsBot added the approved Indicates a PR has been approved by one committer. label Aug 1, 2025
@dataroaring
dataroaring merged commit eac4f7f into apache:masterAug 2, 2025
26 checks passed
Yukang-Lian pushed a commit to Yukang-Lian/doris that referenced this pull request Aug 5, 2025
Yukang-Lian pushed a commit to Yukang-Lian/doris that referenced this pull request Aug 5, 2025
dataroaring pushed a commit that referenced this pull request Aug 5, 2025
…index file incorrectly (#53876)" (#54334)
Pick #53876
Co-authored-by: Uniqueyou <wangyixuan@selectdb.com>
morrySnow pushed a commit that referenced this pull request Aug 5, 2025
dataroaring pushed a commit that referenced this pull request Aug 7, 2025
related #53876 test:
```
[ RUN ] CheckerTest.normal_check_index_file_v1
[ RUN ] CheckerTest.normal_inverted_check_index_file_v1
[ RUN ] CheckerTest.normal_check_index_file_v2
[ RUN ] CheckerTest.normal_inverted_check_index_file_v2
[ RUN ] CheckerTest.abnormal_check_index_file_v1 (loss key)
[ RUN ] CheckerTest.abnormal_inverted_check_index_file_v1 (loss file)
[ RUN ] CheckerTest.abnormal_inverted_check_index_file_v2 (loss file)
[ RUN ] CheckerTest.abnormal_check_index_file_v2 (loss key)
```
github-actionsBot pushed a commit that referenced this pull request Aug 7, 2025
related #53876 test:
```
[ RUN ] CheckerTest.normal_check_index_file_v1
[ RUN ] CheckerTest.normal_inverted_check_index_file_v1
[ RUN ] CheckerTest.normal_check_index_file_v2
[ RUN ] CheckerTest.normal_inverted_check_index_file_v2
[ RUN ] CheckerTest.abnormal_check_index_file_v1 (loss key)
[ RUN ] CheckerTest.abnormal_inverted_check_index_file_v1 (loss file)
[ RUN ] CheckerTest.abnormal_inverted_check_index_file_v2 (loss file)
[ RUN ] CheckerTest.abnormal_check_index_file_v2 (loss key)
```
github-actionsBot pushed a commit that referenced this pull request Aug 7, 2025
related #53876 test:
```
[ RUN ] CheckerTest.normal_check_index_file_v1
[ RUN ] CheckerTest.normal_inverted_check_index_file_v1
[ RUN ] CheckerTest.normal_check_index_file_v2
[ RUN ] CheckerTest.normal_inverted_check_index_file_v2
[ RUN ] CheckerTest.abnormal_check_index_file_v1 (loss key)
[ RUN ] CheckerTest.abnormal_inverted_check_index_file_v1 (loss file)
[ RUN ] CheckerTest.abnormal_inverted_check_index_file_v2 (loss file)
[ RUN ] CheckerTest.abnormal_check_index_file_v2 (loss key)
```
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approvedIndicates a PR has been approved by one committer.dev/3.0.7-mergeddev/3.1.0-mergedp0_testreviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

@wyxxxcat@Thearas@hello-stephen@doris-robot@Yukang-Lian@gavinchou@dataroaring@morrySnow