Wiggins
c91a8f53a9
Fix : del metadatacache uppertablenamekey and increase tablemeta field uppertablename ( #857 )
* fix: uppertable metacache
todo:Fix lockkey case difference #846
* increase uppertablename and Fix lockkey case difference #846
* Fix test case difference #846
* Fix test case difference #846
* reduce uppertablename col #846
* reduce uppertablename #846
* fix test #846
---------
Co-authored-by: FengZhang <zfcode@qq.com>
9 months ago
Wiggins
3b1ebc92fe
Optimize/at build lock key performance ( #837 )
* Refer to buildlockkey2 optimization #829
* Time complexity O(NM)-> O(NK) about buildlockkey and buildlockkey2 Increased readability #829
* update import sort #829
* update Encapsulation into util packages #829
11 months ago
LeeHao
f7c5dfc278
chore: remove the Chinese annotations ( #782 )
Signed-off-by: LeeHao <1838249551@qq.com>
1 year ago
FinnTew
1b72cb8cb8
optimize: optimize the speed of buildLockKey ( #714 )
* optimize: optimize the speed of buildLockKey
* improve unit testing of buildLockKey
* fix the situation where primaryKeyValues contains nil value
* update the unit test of buildLockKey
---------
Co-authored-by: JayLiu <38887641+luky116@users.noreply.github.com>
1 year ago
FinnTew
6bf7b94388
fix: bypassing modifying the primary key ( #727 )
* adjust unit tests to verify the issue of "bypassing modifying the primary key"
* fix: bypass modify the primary key
1 year ago
FinnTew
406b8bac9c
fix: undo log sql ( #724 )
* fix the problem of mock replacing mysql.GetTableMeta in TestBuildSelectSQLByUpdate
* fix the problem of MySQLUpdateUndoLogBuilder failing to generate undo log sql
---------
Co-authored-by: JayLiu <38887641+luky116@users.noreply.github.com>
1 year ago
JayLiu
ad092d5eb3
optimize: rename module name to seata.apache.org/seata-go ( #678 )
2 years ago
wang1309
d6750d5002
Feat fix go import ( #536 )
optimize go imports style
3 years ago
charlie
291f13de3e
reactor: select for update executor ( #478 )
* reactor: select for update executor
3 years ago
FengZhang
47929ca2f0
ftr: optimize the datasource init ( #447 )
* optimize the datasource init
3 years ago
mooleetzi
b2f03e4168
optimize error ( #395 )
optimize error
3 years ago
FengZhang
1cd2c93f70
optimize: add log init ( #408 )
3 years ago
liushao
c8dccc9d91
refactor: use new tm config in tm module. ( #411 )
* refactor: use new tm config in tm module.
3 years ago
Kirhaku
1246a7e661
[AT] add insert on duplicate ( #405 )
Co-authored-by: “kirhaku” <“2454546080@qq.com”>
3 years ago
liushao
2a12a86bea
feat: add tm config ( #398 )
feat(pkg/client,pkg/config): add tm config
3 years ago
FengZhang
fb92a142b9
feature:build undo log by insert target SQL ( #333 )
* insert undo log
* add insert undo test
* fix map loop
* OPT code style & lint & add ut
* fix imports
* fix conflict & adapter some modify
* fix some bug & add ut
3 years ago
Yuecai Liu
f4251b5ba8
add data check before rollbeck ( #366 )
* add data check before rollbeck
3 years ago
Yuecai Liu
ea8eb191a6
Fix decode image( #365 )
fix decode image
3 years ago
Yuecai Liu
2f0e114055
Fix meta data ( #363 )
fix ColumnType
3 years ago
georgehao
b46d81772e
Rollback ( #358 )
* feat: rollback
* feat: add at rollback sampel
* feat: fix name
3 years ago
FengZhang
5b4778a915
feature: support ONLY_CARE_UPDATE_COLUMNS ( #355 )
support ONLY_CARE_UPDATE_COLUMNS & fix beforeImage error due to the struct shallow copy
3 years ago
Yuecai Liu
da18f0501c
Optimize rollback ( #356 )
optimize rollback
3 years ago
georgehao
362b86815f
feat: modify some receiver name ( #353 )
* feat: modify some receiver name
* feat: add no transaction test
* feat: update batch delete
3 years ago
Yuecai Liu
aedef6e9d8
optimize commit ( #354 )
optimize commit
3 years ago
Yuecai Liu
7481327eaf
optimize meta data ( #352 )
optimize meta data
3 years ago
Yuecai Liu
a16a38ba0a
optimize at commit branch ( #346 )
* optimize at
3 years ago
FengZhang
902cd252a8
doc: add sample undo_log table sql
add sample mysql
3 years ago
Yuecai Liu
797a965590
optimize: add insert undo log function ( #337 )
add insert undo log function
3 years ago
wang1309
7e9d882e0e
Feat add undo func ( #320 )
add undo function
3 years ago
Yuecai Liu
8c24c5f0b4
optimize at ( #336 )
optimize at model
3 years ago
baerwang
7f7a0796fb
test: strengthen ut ( #332 )
3 years ago
baerwang
953e7e2eff
wip:multi delete sql ( #330 )
feat:multi delete sql
Co-authored-by: wangxiaoxiong <wangxiaoxiong@asants.com>
3 years ago
Yuecai Liu
a98e390466
feature: add select for update ( #319 )
* add select for update
3 years ago
georgehao
4b0278e434
Feat/multi update ( #325 )
feat: add multi update
3 years ago
Yuecai Liu
d2b0e7cc57
Feat multi undo log builder ( #301 )
* feat: add mysql update undo log builder
* add log
* add comment for JDBCType
* add name
* optimize basic builder
* fix type
* fix type
* fix switch
* add update after iamge builder
* format code
* format
* add multi undo log builder
* fix conflict
* fix conflict
* fix conflict
* fix conflict
* fix conflict
* fix conflict
* fix conflict
3 years ago
Yuecai Liu
ac79b5a15b
refactor compress ( #318 )
* init compressor type
* init compressor type
* reformat code
* reformat code
3 years ago
wang1309
ee274c52ee
feat:add mysql table meta func && sql addEscape, delEscape func issue… ( #294 )
* feat:add mysql table meta func && sql addEscape, delEscape func issue#290
* fix:TestMetaCache func rename
* fix:ci lint fail fix
* fix: solve GetTableMeta return type && constant define
* fix:solve code format and meta cache func fault
* fix:solev git ci fail
* fix:solev git ci fail
* format:format code
* fix:merge master && format code
* fix:solve name conflict
Co-authored-by: 王瑞 <wangrui5@songguo7.com>
Co-authored-by: wangrui130 <wangrui130@tal.com>
3 years ago
Yuecai Liu
c272389452
Feat add mysql update after undo log builder ( #289 )
feat: add mysql update after undo log builder
3 years ago
georgehao
29c7f38440
feat: add sync worker and fmt ( #303 )
* feat: add sync worker and fmt
* feat: update
* feat: update
* feat: update
* feat: update
* feat: update
* feat: update
* feat: update
* feat: fix spell
* feat: fix conflict
Co-authored-by: Xin.Zh <dragoncharlie@foxmail.com>
Co-authored-by: haohongfan1 <haohongfan1@jd.com>
3 years ago
Shaozhou Hu
2fd391df0d
add mysql delete undo log builder ( #296 )
* add mysql delete undo log builder
* add mysql delete undo log builder
* add mysql delete undo log builder
* add mysql delete undo log builder
3 years ago
Yuecai Liu
1847bf6ac7
feat: add mysql update undo log builder ( #288 )
feat: add mysql update undo log builder
3 years ago