Skip to content

[fix](case) lower cold compaction threshold in fault injection test#65554

Open
shuke987 wants to merge 1 commit into
apache:masterfrom
shuke987:codex/fix-cold-data-compaction-threshold
Open

[fix](case) lower cold compaction threshold in fault injection test#65554
shuke987 wants to merge 1 commit into
apache:masterfrom
shuke987:codex/fix-cold-data-compaction-threshold

Conversation

@shuke987

Copy link
Copy Markdown
Collaborator

What problem does this PR solve?

Issue Number: N/A

Related PR: #55333

Problem Summary:

test_cold_data_compaction_fault_injection creates five remote rowsets, but the current default cold_data_compaction_score_threshold is 100. The tablet's cold-data compaction score is 5, so the producer keeps skipping it and the case times out while the remote object count stays at 6.

Temporarily set cold_data_compaction_score_threshold to 4 for this case, matching the existing cold_heat_separation/cold_data_compaction.groovy coverage. setBeConfigTemporary restores the original value after the case.

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

    Manual validation:

    • Branch-4.1 test cluster single-case run: PASS 1/1.
    • Remote object count changed from 6 to 7 after one 60-second producer interval.
    • All four BE thresholds were restored from the temporary value 4 to 100.
    • Debug-point cleanup completed.
  • 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

@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?

@shuke987

Copy link
Copy Markdown
Collaborator Author

/review

@shuke987

Copy link
Copy Markdown
Collaborator Author

run buildall

@github-actions

Copy link
Copy Markdown
Contributor

Codex automated review failed and did not complete.

Error: You've hit your usage limit. Visit https://chatgpt.com/codex/settings/usage to purchase more credits or try again at Jul 20th, 2026 12:23 AM.
Workflow run: https://github.com/apache/doris/actions/runs/29251649365

Please inspect the workflow logs and rerun the review after the underlying issue is resolved.

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.

2 participants