Skip to content

[Refactor] Set error but not exit BE when delvec inconsistent#53460

Merged
wyb merged 2 commits intoStarRocks:mainfrom
sevev:avoid_crash
Dec 12, 2024
Merged

[Refactor] Set error but not exit BE when delvec inconsistent#53460
wyb merged 2 commits intoStarRocks:mainfrom
sevev:avoid_crash

Conversation

@sevev
Copy link
Contributor

@sevev sevev commented Dec 3, 2024

Why I'm doing:

When BE meets delvec inconsistent error, BE will crash right now and BE can not restart. However, we can set tablet error but not crash BE and remove the replica to handle this problem.

What I'm doing:

Set error but not crash BE.

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.4
    • 3.3
    • 3.2
    • 3.1
    • 3.0

@sevev sevev requested a review from a team as a code owner December 3, 2024 03:36
@mergify mergify bot assigned sevev Dec 3, 2024
@sevev
Copy link
Contributor Author

sevev commented Dec 3, 2024

@mergify rebase

@mergify
Copy link
Contributor

mergify bot commented Dec 3, 2024

rebase

✅ Branch has been successfully rebased

Signed-off-by: sevev <[email protected]>
@github-actions
Copy link
Contributor

github-actions bot commented Dec 4, 2024

[Java-Extensions Incremental Coverage Report]

pass : 0 / 0 (0%)

@github-actions
Copy link
Contributor

github-actions bot commented Dec 4, 2024

[FE Incremental Coverage Report]

pass : 0 / 0 (0%)

@github-actions
Copy link
Contributor

github-actions bot commented Dec 4, 2024

[BE Incremental Coverage Report]

pass : 5 / 5 (100.00%)

file detail

path covered_line new_line coverage not_covered_line_detail
🔵 be/src/storage/tablet_updates.cpp 5 5 100.00% []

@wyb wyb merged commit 27a994c into StarRocks:main Dec 12, 2024
@sevev
Copy link
Contributor Author

sevev commented Dec 17, 2024

@mergify backport branch-3.4

@mergify
Copy link
Contributor

mergify bot commented Dec 17, 2024

backport branch-3.4

✅ Backports have been created

Details

@sevev
Copy link
Contributor Author

sevev commented Dec 17, 2024

@mergify backport branch-3.3

@mergify
Copy link
Contributor

mergify bot commented Dec 17, 2024

backport branch-3.3

✅ Backports have been created

Details

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.

3 participants