Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BugFix] Fix disable base compaction with minute granularity & fe/be recover #52923

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

meegoo
Copy link
Contributor

@meegoo meegoo commented Nov 15, 2024

Why I'm doing:

What I'm doing:

Fixes #issue

What type of PR is this:

  • BugFix
  • Feature
  • Enhancement
  • Refactor
  • UT
  • Doc
  • Tool

Does this PR entail a change in behavior?

  • Yes, this PR will result in a change in behavior.
  • No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

  • Interface/UI changes: syntax, type conversion, expression evaluation, display information
  • Parameter changes: default values, similar parameters but with different default values
  • Policy changes: use new policy to replace old one, functionality automatically enabled
  • Feature removed
  • Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

  • I have added test cases for my bug fix or my new feature
  • This pr needs user documentation (for new or modified features or behaviors)
    • I have added documentation for my new feature or new function
  • This is a backport pr

Bugfix cherry-pick branch check:

  • I have checked the version labels which the pr will be auto-backported to the target branch
    • 3.3
    • 3.2
    • 3.1
    • 3.0
    • 2.5

@meegoo meegoo requested review from a team as code owners November 15, 2024 02:48
wyb
wyb previously approved these changes Nov 15, 2024
@meegoo meegoo force-pushed the fix_base_disable branch 3 times, most recently from b46e2b5 to 86f5e7f Compare November 16, 2024 22:53
@meegoo meegoo requested a review from a team as a code owner November 16, 2024 22:53
@meegoo meegoo force-pushed the fix_base_disable branch 2 times, most recently from 0ae96fe to 6464275 Compare November 18, 2024 00:03
@meegoo meegoo changed the title [BugFix] Fix disable base compaction with minute granularity [BugFix] Fix disable base compaction with minute granularity & fe/be recover Nov 18, 2024
wyb
wyb previously approved these changes Nov 18, 2024
gengjun-git
gengjun-git previously approved these changes Nov 18, 2024
@meegoo meegoo enabled auto-merge (squash) November 18, 2024 02:49
test/sql/test_compaction_cron/T/test_compaction_cron Outdated Show resolved Hide resolved
test/sql/test_compaction_cron/R/test_compaction_cron Outdated Show resolved Hide resolved
be/src/common/config.h Outdated Show resolved Hide resolved
be/src/storage/compaction_manager.cpp Outdated Show resolved Hide resolved
be/src/storage/tablet_meta.h Outdated Show resolved Hide resolved
@meegoo meegoo dismissed stale reviews from gengjun-git and wyb via 7d14f8f November 18, 2024 03:29
@meegoo meegoo requested a review from a team as a code owner November 18, 2024 03:29
…recover

Signed-off-by: meegoo <meegoo.sr@gmail.com>
@meegoo meegoo removed the request for review from a team November 18, 2024 03:36
Copy link

[BE Incremental Coverage Report]

pass : 18 / 19 (94.74%)

file detail

path covered_line new_line coverage not_covered_line_detail
🔵 be/src/storage/compaction_manager.cpp 17 18 94.44% [166]
🔵 be/src/storage/compaction_task.cpp 1 1 100.00% []

Copy link

[Java-Extensions Incremental Coverage Report]

pass : 0 / 0 (0%)

Copy link

[FE Incremental Coverage Report]

fail : 59 / 81 (72.84%)

file detail

path covered_line new_line coverage not_covered_line_detail
🔵 com/starrocks/alter/AlterJobExecutor.java 0 3 00.00% [390, 391, 392]
🔵 com/starrocks/lake/compaction/CompactionControlScheduler.java 46 65 70.77% [104, 239, 265, 266, 267, 268, 269, 270, 271, 273, 274, 275, 277, 278, 279, 280, 281, 282, 283]
🔵 com/starrocks/catalog/OlapTable.java 10 10 100.00% []
🔵 com/starrocks/server/LocalMetastore.java 3 3 100.00% []

@wanpengfei-git wanpengfei-git merged commit 49f6f36 into StarRocks:main Nov 19, 2024
53 of 54 checks passed
Copy link

@Mergifyio backport branch-3.3

@github-actions github-actions bot removed the 3.3 label Nov 19, 2024
Copy link

@Mergifyio backport branch-3.2

@github-actions github-actions bot removed the 3.2 label Nov 19, 2024
Copy link
Contributor

mergify bot commented Nov 19, 2024

backport branch-3.3

✅ Backports have been created

Copy link
Contributor

mergify bot commented Nov 19, 2024

backport branch-3.2

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Nov 19, 2024
…recover (#52923)

Signed-off-by: meegoo <meegoo.sr@gmail.com>
(cherry picked from commit 49f6f36)

# Conflicts:
#	be/src/storage/compaction_task.cpp
mergify bot pushed a commit that referenced this pull request Nov 19, 2024
…recover (#52923)

Signed-off-by: meegoo <meegoo.sr@gmail.com>
(cherry picked from commit 49f6f36)

# Conflicts:
#	be/src/storage/compaction_task.cpp
#	fe/fe-core/src/main/java/com/starrocks/alter/AlterJobExecutor.java
#	fe/fe-core/src/main/java/com/starrocks/catalog/OlapTable.java
#	test/sql/test_compaction_cron/R/test_compaction_cron
#	test/sql/test_compaction_cron/T/test_compaction_cron
meegoo added a commit that referenced this pull request Nov 19, 2024
…recover (backport #52923) (#52985)

Signed-off-by: meegoo <meegoo.sr@gmail.com>
Co-authored-by: meegoo <meegoo.sr@gmail.com>
meegoo added a commit that referenced this pull request Nov 19, 2024
…recover (backport #52923) (#52986)

Signed-off-by: meegoo <meegoo.sr@gmail.com>
Co-authored-by: meegoo <meegoo.sr@gmail.com>
Smith-Cruise pushed a commit to Smith-Cruise/starrocks that referenced this pull request Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants