-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[Feature] Adds routine_load_unstable_threshold_second #36222
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rickif
force-pushed
the
feat/timestamp-progress
branch
2 times, most recently
from
December 1, 2023 06:06
1e20ec0
to
c87f0b9
Compare
@Mergifyio rebase |
✅ Branch has been successfully rebased |
rickif
force-pushed
the
feat/timestamp-progress
branch
from
December 1, 2023 07:21
cdc2906
to
4c0bf28
Compare
rickif
changed the title
[Feature] Adds timestamp progress to routine load
[Feature] Adds routine_load_unstable_threshold_second
Dec 5, 2023
rickif
force-pushed
the
feat/timestamp-progress
branch
from
December 6, 2023 07:37
46e5ed7
to
2d9372e
Compare
Signed-off-by: ricky <rickif@qq.com>
Signed-off-by: ricky <rickif@qq.com>
Signed-off-by: ricky <rickif@qq.com>
Signed-off-by: ricky <rickif@qq.com>
Signed-off-by: ricky <rickif@qq.com>
rickif
force-pushed
the
feat/timestamp-progress
branch
from
December 6, 2023 09:13
2d9372e
to
ccb56d6
Compare
Signed-off-by: ricky <rickif@qq.com>
meegoo
reviewed
Dec 12, 2023
Signed-off-by: ricky <rickif@qq.com>
zaorangyang
approved these changes
Dec 13, 2023
wyb
reviewed
Dec 13, 2023
fe/fe-core/src/main/java/com/starrocks/load/routineload/RLTaskTxnCommitAttachment.java
Outdated
Show resolved
Hide resolved
…TxnCommitAttachment.java Co-authored-by: wyb <wybb86@gmail.com> Signed-off-by: ricky <rickif@qq.com>
wyb
approved these changes
Dec 13, 2023
Quality Gate passedThe SonarCloud Quality Gate passed, but some issues were introduced. 5 New issues |
[FE Incremental Coverage Report]✅ pass : 57 / 66 (86.36%) file detail
|
[BE Incremental Coverage Report]❌ fail : 0 / 9 (00.00%) file detail
|
rickif
added a commit
to rickif/starrocks
that referenced
this pull request
Dec 13, 2023
rickif
added a commit
to rickif/starrocks
that referenced
this pull request
Dec 13, 2023
…ocks#36222 Signed-off-by: ricky <rickif@qq.com>
meegoo
approved these changes
Dec 13, 2023
HangyuanLiu
approved these changes
Dec 14, 2023
@Mergifyio backport branch-3.2 branch-3.1 branch-3.0 branch-2.5 |
✅ Backports have been created
|
mergify bot
pushed a commit
that referenced
this pull request
Dec 14, 2023
Signed-off-by: ricky <rickif@qq.com> Co-authored-by: wyb <wybb86@gmail.com> (cherry picked from commit 4c9756f) # Conflicts: # fe/fe-core/src/main/java/com/starrocks/common/Config.java # fe/fe-core/src/main/java/com/starrocks/load/routineload/RoutineLoadJob.java # fe/fe-core/src/test/java/com/starrocks/analysis/ShowRoutineLoadStmtTest.java # fe/fe-core/src/test/java/com/starrocks/load/routineload/RoutineLoadJobTest.java
mergify bot
pushed a commit
that referenced
this pull request
Dec 14, 2023
Signed-off-by: ricky <rickif@qq.com> Co-authored-by: wyb <wybb86@gmail.com> (cherry picked from commit 4c9756f) # Conflicts: # fe/fe-core/src/main/java/com/starrocks/common/Config.java # fe/fe-core/src/main/java/com/starrocks/load/routineload/RoutineLoadJob.java # fe/fe-core/src/test/java/com/starrocks/analysis/ShowRoutineLoadStmtTest.java # fe/fe-core/src/test/java/com/starrocks/load/routineload/RoutineLoadJobTest.java
mergify bot
pushed a commit
that referenced
this pull request
Dec 14, 2023
Signed-off-by: ricky <rickif@qq.com> Co-authored-by: wyb <wybb86@gmail.com> (cherry picked from commit 4c9756f) # Conflicts: # fe/fe-core/src/main/java/com/starrocks/common/Config.java # fe/fe-core/src/main/java/com/starrocks/load/routineload/RoutineLoadJob.java # fe/fe-core/src/test/java/com/starrocks/analysis/ShowRoutineLoadStmtTest.java # fe/fe-core/src/test/java/com/starrocks/load/routineload/RoutineLoadJobTest.java
mergify bot
pushed a commit
that referenced
this pull request
Dec 14, 2023
Signed-off-by: ricky <rickif@qq.com> Co-authored-by: wyb <wybb86@gmail.com> (cherry picked from commit 4c9756f) # Conflicts: # fe/fe-core/src/main/java/com/starrocks/common/Config.java # fe/fe-core/src/main/java/com/starrocks/load/routineload/RoutineLoadJob.java # fe/fe-core/src/test/java/com/starrocks/analysis/ShowRoutineLoadStmtTest.java # fe/fe-core/src/test/java/com/starrocks/load/routineload/RoutineLoadJobTest.java
rickif
added a commit
to rickif/starrocks
that referenced
this pull request
Dec 14, 2023
Signed-off-by: ricky <rickif@qq.com> Co-authored-by: wyb <wybb86@gmail.com>
17 tasks
rickif
added a commit
to rickif/starrocks
that referenced
this pull request
Dec 14, 2023
Signed-off-by: ricky <rickif@qq.com> Co-authored-by: wyb <wybb86@gmail.com>
rickif
added a commit
to rickif/starrocks
that referenced
this pull request
Dec 14, 2023
Signed-off-by: ricky <rickif@qq.com> Co-authored-by: wyb <wybb86@gmail.com>
rickif
added a commit
to rickif/starrocks
that referenced
this pull request
Dec 14, 2023
Signed-off-by: ricky <rickif@qq.com> Co-authored-by: wyb <wybb86@gmail.com>
rickif
added a commit
to rickif/starrocks
that referenced
this pull request
Dec 14, 2023
Signed-off-by: ricky <rickif@qq.com> Co-authored-by: wyb <wybb86@gmail.com>
wyb
added a commit
that referenced
this pull request
Dec 14, 2023
… (branch-2.5) (#37010) Signed-off-by: ricky <rickif@qq.com> Co-authored-by: wyb <wybb86@gmail.com>
wyb
added a commit
that referenced
this pull request
Dec 14, 2023
… (branch-3.0) (#37009) Signed-off-by: ricky <rickif@qq.com> Co-authored-by: wyb <wybb86@gmail.com>
wanpengfei-git
pushed a commit
that referenced
this pull request
Dec 15, 2023
… (branch-3.1) (#37008) Signed-off-by: ricky <rickif@qq.com> Co-authored-by: wyb <wybb86@gmail.com>
andyziye
pushed a commit
that referenced
this pull request
Dec 21, 2023
… (branch-3.2) (#37007) Signed-off-by: ricky <rickif@qq.com> Co-authored-by: wyb <wybb86@gmail.com>
Zhangg7723
pushed a commit
to Zhangg7723/starrocks
that referenced
this pull request
Dec 26, 2023
Signed-off-by: ricky <rickif@qq.com> Co-authored-by: wyb <wybb86@gmail.com> Signed-off-by: 张敢 <zhanggan@deepexi.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Why I'm doing:
When a routine load job gets sustained failure, the retention of the Kafka partition may expire, which leads to data loss.
What I'm doing:
adding TimeProgress to the result of
show routine load
.The TimestampProgress denotes the latest partition timestamp of the consumed message.
adding FE config
routine_load_unstable_threshold_second
.When the time latency is more than this config value, the job would be set as
UNSTABLE
state.In this state, the routine load job would be scheduled continuously, and the
ReasonOfChangeState
would be set.Fixes #35296
What type of PR is this:
Does this PR entail a change in behavior?
If yes, please specify the type of change:
Checklist:
[Doc] Add routine_load_unstable_threshold_second #36967
Bugfix cherry-pick branch check: