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

optimize: skip reload for redis & db mode #4393

Merged
merged 30 commits into from
Mar 12, 2022
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
1d89b88
optimize: skip reload
caohdgege Feb 18, 2022
87234e6
optimize: close undo log delete
caohdgege Feb 18, 2022
df5b93a
add md
caohdgege Feb 18, 2022
3c8939c
Merge branch 'develop' into skip-reload_
wangliang181230 Feb 23, 2022
8e39036
fix logic and ci
caohdgege Feb 28, 2022
a54426b
Merge remote-tracking branch 'origin/skip-reload_' into skip-reload_
caohdgege Feb 28, 2022
9c48ec9
Merge branch 'develop' into skip-reload_
caohdgege Feb 28, 2022
125e29f
fix pmd
caohdgege Feb 28, 2022
47b2bfa
Merge remote-tracking branch 'origin/skip-reload_' into skip-reload_
caohdgege Feb 28, 2022
6534549
fix ci
caohdgege Feb 28, 2022
7309dad
md
caohdgege Mar 3, 2022
643d214
add a log && set val for errorStatusGlobalSessions
caohdgege Mar 5, 2022
320c334
add log
caohdgege Mar 5, 2022
03b2739
optimize
caohdgege Mar 5, 2022
a61fc96
Merge branch 'develop' into skip-reload_
slievrly Mar 7, 2022
8d6634b
fix typo
caohdgege Mar 8, 2022
12c0569
fix
caohdgege Mar 8, 2022
1cf3830
Merge remote-tracking branch 'origin/skip-reload_' into skip-reload_
caohdgege Mar 8, 2022
4b16d2b
reverse space
caohdgege Mar 8, 2022
a98cf19
UnusedImports
caohdgege Mar 8, 2022
e414172
fix ci
caohdgege Mar 8, 2022
0bf17a9
Merge branch 'develop' into skip-reload_
caohdgege Mar 8, 2022
6367c9b
fix ci
caohdgege Mar 8, 2022
67d0fae
Merge remote-tracking branch 'origin/skip-reload_' into skip-reload_
caohdgege Mar 8, 2022
b758b77
commit
funky-eyes Mar 9, 2022
882809c
Merge branch 'develop' into skip-reload_
funky-eyes Mar 10, 2022
2acea34
Merge branch 'develop' into skip-reload_
funky-eyes Mar 11, 2022
59de008
modify log
caohdgege Mar 11, 2022
00f79ac
Merge remote-tracking branch 'origin/skip-reload_' into skip-reload_
caohdgege Mar 11, 2022
9412b10
Merge branch 'develop' into skip-reload_
slievrly Mar 12, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add log
  • Loading branch information
caohdgege committed Mar 5, 2022
commit 320c33431351d807d1db5229d03369c38699e262
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ public static void endCommitted(GlobalSession globalSession) throws TransactionE
* @throws TransactionException the transaction exception
*/
public static void endCommitFailed(GlobalSession globalSession) throws TransactionException {
LOGGER.error("Thr Global session {} is in failed status, please handle it manually.", globalSession.getXid());
caohdgege marked this conversation as resolved.
Show resolved Hide resolved

caohdgege marked this conversation as resolved.
Show resolved Hide resolved
globalSession.changeStatus(GlobalStatus.CommitFailed);
globalSession.end();
postTcSessionEndEvent(globalSession);
Expand Down Expand Up @@ -158,6 +160,8 @@ public static void endRollbacked(GlobalSession globalSession) throws Transaction
*/
public static void endRollbackFailed(GlobalSession globalSession) throws TransactionException {
GlobalStatus currentStatus = globalSession.getStatus();
LOGGER.error("Thr Global session {} is in failed status, please handle it manually.", globalSession.getXid());
caohdgege marked this conversation as resolved.
Show resolved Hide resolved

if (isTimeoutGlobalStatus(currentStatus)) {
globalSession.changeStatus(GlobalStatus.TimeoutRollbackFailed);
} else {
Expand Down