Skip to content

Commit 5c23b6c

Browse files
authored
Merge branch 'master' into master
2 parents ac85f94 + ccb9699 commit 5c23b6c

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/issue-robot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
build:
2727
runs-on: ubuntu-latest
2828
steps:
29-
- uses: tomsun28/issues-translate-action@v2.6
29+
- uses: usthe/issues-translate-action@v2.7
3030
with:
3131
# it is not necessary to decide whether you need to modify the issue header content
3232
IS_MODIFY_TITLE: false

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ go 1.20
55
require (
66
dubbo.apache.org/dubbo-go/v3 v3.0.4
77
github.com/DATA-DOG/go-sqlmock v1.5.0
8-
github.com/apache/dubbo-getty v1.4.10
8+
github.com/apache/dubbo-getty v1.5.0
99
github.com/arana-db/parser v0.2.5
1010
github.com/bluele/gcache v0.0.2
1111
github.com/dsnet/compress v0.0.1

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ github.com/alibaba/sentinel-golang v1.0.4/go.mod h1:Lag5rIYyJiPOylK8Kku2P+a23gdK
6666
github.com/aliyun/alibaba-cloud-sdk-go v1.61.18/go.mod h1:v8ESoHo4SyHmuB4b1tJqDHxfTGEciD+yhvOU/5s1Rfk=
6767
github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
6868
github.com/apache/dubbo-getty v1.4.9-0.20221022181821-4dc6252ce98c/go.mod h1:6qmrqBSPGs3B35zwEuGhEYNVsx1nfGT/xzV2yOt2amM=
69-
github.com/apache/dubbo-getty v1.4.10 h1:ZmkpHJa/qgS0evX2tTNqNCz6rClI/9Wwp7ctyMml82w=
70-
github.com/apache/dubbo-getty v1.4.10/go.mod h1:V64WqLIxksEgNu5aBJBOxNIvpOZyfUJ7J/DXBlKSUoA=
69+
github.com/apache/dubbo-getty v1.5.0 h1:40RMjEoSfTuoG5EwKbGgfhjd7m6Zc7qBfOFgQv1jHCI=
70+
github.com/apache/dubbo-getty v1.5.0/go.mod h1:V64WqLIxksEgNu5aBJBOxNIvpOZyfUJ7J/DXBlKSUoA=
7171
github.com/apache/dubbo-go-hessian2 v1.9.1/go.mod h1:xQUjE7F8PX49nm80kChFvepA/AvqAZ0oh/UaB6+6pBE=
7272
github.com/apache/dubbo-go-hessian2 v1.9.3/go.mod h1:xQUjE7F8PX49nm80kChFvepA/AvqAZ0oh/UaB6+6pBE=
7373
github.com/apache/dubbo-go-hessian2 v1.11.4 h1:u8spEogpaZ82/k3bmv1PLYnha/wiwsIme15FuZZgkiI=

pkg/datasource/sql/undo/base/undo.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ func (m *BaseUndoLogManager) FlushUndoLog(tranCtx *types.TransactionContext, con
222222
}
223223

224224
parseContext := make(map[string]string, 0)
225-
parseContext[serializerKey] = "json"
225+
parseContext[serializerKey] = undo.UndoConfig.LogSerialization
226226
parseContext[compressorTypeKey] = undo.UndoConfig.CompressConfig.Type
227227
undoLogContent := m.encodeUndoLogCtx(parseContext)
228228
rollbackInfo, err := m.serializeBranchUndoLog(&branchUndoLog, parseContext[serializerKey])
@@ -380,7 +380,7 @@ func (m *BaseUndoLogManager) Undo(ctx context.Context, dbType types.DBType, xid
380380
func (m *BaseUndoLogManager) insertUndoLogWithGlobalFinished(ctx context.Context, xid string, branchID uint64, conn *sql.Conn) error {
381381
// todo use config to replace
382382
parseContext := make(map[string]string, 0)
383-
parseContext[serializerKey] = "json"
383+
parseContext[serializerKey] = undo.UndoConfig.LogSerialization
384384
parseContext[compressorTypeKey] = undo.UndoConfig.CompressConfig.Type
385385
undoLogContent := m.encodeUndoLogCtx(parseContext)
386386

0 commit comments

Comments
 (0)