Skip to content

[fix](test) fix flaky compaction profile case#63886

Open
Yukang-Lian wants to merge 1 commit into
apache:branch-4.0from
Yukang-Lian:lianyukang/pick-4.0-61222-compaction-profile
Open

[fix](test) fix flaky compaction profile case#63886
Yukang-Lian wants to merge 1 commit into
apache:branch-4.0from
Yukang-Lian:lianyukang/pick-4.0-61222-compaction-profile

Conversation

@Yukang-Lian
Copy link
Copy Markdown
Collaborator

Summary

Fix DORIS-25488: test_compaction_profile_action was flaky because it checked input size on the first unfiltered compaction profile, which may belong to another tablet.

This PR checks those fields on the profile filtered by the test tablet id.

…file with tablet_id

The unfiltered compaction_profiles[0] may belong to other tablets,
whose input_data_size could be 0. Move data-size assertions to use
tablet_id-filtered profile to ensure we validate our own compaction.

(cherry picked from commit 067b66e)
@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?

@Yukang-Lian
Copy link
Copy Markdown
Collaborator Author

run buildall

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