-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Enhancement] Return aborted reason when getting label/transaction state #54472
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
fe/fe-core/src/main/java/com/starrocks/transaction/TransactionStateSnapshot.java
Show resolved
Hide resolved
banmoy
changed the title
[Enhancement] Return transaction abort reason of HTTP get_load_state/Thrift getLoadTxnStatus
[Enhancement] Return transaction abort reason for get_load_state(http)/getLoadTxnStatus(thrift)
Dec 29, 2024
banmoy
changed the title
[Enhancement] Return transaction abort reason for get_load_state(http)/getLoadTxnStatus(thrift)
[Enhancement] Return transaction abort reason for http get_load_state and thrift getLoadTxnStatus
Dec 29, 2024
banmoy
force-pushed
the
get_label_message
branch
from
December 29, 2024 10:49
84e4d9f
to
c0e80fa
Compare
banmoy
force-pushed
the
get_label_message
branch
from
December 29, 2024 10:51
c0e80fa
to
9bf4f8a
Compare
banmoy
changed the title
[Enhancement] Return transaction abort reason for http get_load_state and thrift getLoadTxnStatus
[Enhancement] Return transaction abort reason when getting label state
Dec 30, 2024
banmoy
changed the title
[Enhancement] Return transaction abort reason when getting label state
[Enhancement] Return aborted reason when getting label state
Dec 30, 2024
banmoy
changed the title
[Enhancement] Return aborted reason when getting label state
[Enhancement] Return aborted reason when getting label/transaction state
Dec 30, 2024
banmoy
force-pushed
the
get_label_message
branch
from
December 30, 2024 06:32
9bf4f8a
to
9d3a0ab
Compare
kevincai
approved these changes
Dec 30, 2024
banmoy
force-pushed
the
get_label_message
branch
from
December 30, 2024 06:54
9d3a0ab
to
ecd2157
Compare
Signed-off-by: PengFei Li <[email protected]>
Signed-off-by: PengFei Li <[email protected]>
Signed-off-by: PengFei Li <[email protected]>
Signed-off-by: PengFei Li <[email protected]>
banmoy
force-pushed
the
get_label_message
branch
from
December 30, 2024 13:48
ecd2157
to
5f77e4c
Compare
Quality Gate passedIssues Measures |
[Java-Extensions Incremental Coverage Report]✅ pass : 0 / 0 (0%) |
[FE Incremental Coverage Report]✅ pass : 23 / 25 (92.00%) file detail
|
[BE Incremental Coverage Report]✅ pass : 1 / 1 (100.00%) file detail
|
wyb
approved these changes
Dec 31, 2024
gengjun-git
approved these changes
Dec 31, 2024
@Mergifyio backport branch-3.4 |
✅ Backports have been created
|
mergify bot
pushed a commit
that referenced
this pull request
Dec 31, 2024
…ate (#54472) Signed-off-by: PengFei Li <[email protected]> (cherry picked from commit 0bb3eeb) # Conflicts: # fe/fe-core/src/main/java/com/starrocks/transaction/GlobalTransactionMgr.java
Closed
18 tasks
banmoy
added a commit
to banmoy/starrocks
that referenced
this pull request
Dec 31, 2024
…ate (StarRocks#54472) Signed-off-by: PengFei Li <[email protected]>
Merged
24 tasks
banmoy
added a commit
to banmoy/starrocks
that referenced
this pull request
Dec 31, 2024
…ate (StarRocks#54472) Signed-off-by: PengFei Li <[email protected]>
Merged
24 tasks
gengjun-git
pushed a commit
that referenced
this pull request
Dec 31, 2024
…ate (backport #54472) (#54533) Signed-off-by: PengFei Li <[email protected]>
gengjun-git
pushed a commit
that referenced
this pull request
Dec 31, 2024
…ate (backport #54472) (#54535) Signed-off-by: PengFei Li <[email protected]>
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:
There are two interfaces to get the label/transaction state
Currently the interfaces only return the
TransactionStatus
. But If the status isABORTED
, the caller also wants to know the reason. So also need to return the reasonWhat I'm doing:
reason
field in the response jsonreason
field in the responseTGetLoadTxnStatusResult
Fixes #issue
What type of PR is this:
Does this PR entail a change in behavior?
If yes, please specify the type of change:
Checklist:
Bugfix cherry-pick branch check: