You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

go.mod 4.8 kB

3 years ago
3 years ago
Fix autoincrement insert panic (#452) * Initial commit * add config file * init * add rm * add processor * bug fix * use processor on message * change default config * init github Actions * init github Actions * add tcc process * Adjust the structure of the project * Adjust the structure of the project * Adjust the structure of the project * fix linter error * fix cli * add apache license * fix config * add unit test * add go imports shell * Adjust project directory * remove iota * fix cli bug * remove the useless comments * fix branch commit bug * remove goetty package * Optimize codec code * Create enhancement.md * style:change bool to struct{} * fix commit and rollback codec * realize branchReport * add seata-go samples * add processor unittest * remove blank and annotation * branchReport return value judgment * optimize-zap-log * update changed the format of log * remove the duplicate code same with sample/local * optimize format of logging * optimize format of logging * optimize format of logging * Update logging.go * feature add action context for tcc * add err check for unmarshal json * Feat add two phase (#122) * add two phase * support seata dubbo * fix getty auto close bug (#130) * optimize named for the resource manager api and tcc resource, adjust … (#125) update optimize the resource manager. * docs: add readme ,contributing and pr template doc (#153) * add license (#146) * bugfix: fix rollback response status bug (#155) * feature add unit test and labeler workflow (#165) * add license * add license * add unit test workflow, rename golangci lint workflow * changed golang version from 1.15 to 1.16 in workflow. * fix golangci-lint invaild * fix golangci-lint invalid. * add labeler workflow * fix labeler invaild * fix typo in reademe (#167) fix typo * doc: add seata server startup docker compose file (#172) doc: add seata server startup docker composer file * doc: add release 0.1.0 changes note (#169) doc: add release 0.0.1-rc1 changes note * optimize add ut for message (#154) * add ut for message * format imports * optimieze add ut for tm (#163) * add ut * add ut for tm * format imports * resolve conflict in go mod * fix loop variable v captured by func literal (govet) * optimize ut for tm in gomonkey mock. * format by goimports * optimize code style * resolve conflict. * [modify] git ignore add build products in 'dist/' (#177) * bugfix fix ut bug of msg, it will cause ci failed (#176) fix ut bug of msg. * optimize: optimise way of init seata (#187) optimize: optimise way of init seata * Feature add tcc branch report (#190) feature: add tcc branch report * refactor(pkg/rm): optimize function's parameters into one struct (#196) optimize function's parameters into one struct,comment and code style Co-authored-by: liushao <liushao@inke.cn> * feature add integration for grpc (#158) * finish ut for interceptor * add client interceptor * add server interceptor * adjust location for test file * format in goimports * goimformat * adjust package struct of grpc interceptor, move constant of grpc to common package. * adjust gprc interceptor file struct * refact directory, optimize grpc test case * optimize proto * delte test file * delte test file * fix npe for server integration * go mod tidy * remove duplicate constant * optimize: remove unnecessary codes (#208) * Add unit testing for getty (#203) * getty tests * test * test * style * style go mod * style:format imports * style:Delete the useless gomonkey Reset method Co-authored-by: xubaisheng <> * optimize workflow, add condecov and issue, stale robot (#202) optimize workflow, add condecov and issue robot * Feature add tcc branch report unit test (#210) test: add tcc branch report unit test * optimize: support instance BusinessActionContext outside the TCC try … (#179) optimize: support instance BusinessActionContext outside the TCC try method * add dubbo transtation filter test (#204) test: add unit test for dubbo transtation filter * optimize ResourceManagerInbound function's parameters into one struct-rm_api.go (#198) optimiz: optimize function's parameters into one struct-rm_api.go * feature add tcc grpc sample,adjust register resource and branch register (#200) feature: add grpc integration for tcc * fix enhancement: make time parameters easier to read (#215) optimize: make time parameters easier to read * feature/datasource_at merge to master (#213) feature: add transaction at datasource * add rm test (#192) add test for rm * optimize: add some todo comment, add a undo hook sample (#238) add some todo comment, add a undo hook sample * replace the underline naming in the code with the hump naming method (#235) * add dubbo transtation filter test (#204) test: add unit test for dubbo transtation filter * add dubbo transtation filter test (#204) test: add unit test for dubbo transtation filter * add dubbo transtation filter test (#204) test: add unit test for dubbo transtation filter * add dubbo transtation filter test (#204) test: add unit test for dubbo transtation filter * add dubbo transtation filter test (#204) test: add unit test for dubbo transtation filter * add dubbo transtation filter test (#204) test: add unit test for dubbo transtation filter * add dubbo transtation filter test (#204) test: add unit test for dubbo transtation filter * add dubbo transtation filter test (#204) test: add unit test for dubbo transtation filter * add dubbo transtation filter test (#204) test: add unit test for dubbo transtation filter * add dubbo transtation filter test (#204) test: add unit test for dubbo transtation filter * fix: do register resource where execute OpenConnector function (#237) * fix: register resource where execute OpenConnector function * remove chinese comment * optimize Add unit testing for common (#229) * add unit test * add unit test * add unit test Co-authored-by: miaoxueyu <miaoxueyu@xs901.com> * bugfix: fix infinite loop of asyncCallback (#230) asyncCallback -> syncCallback * feature: add undo log manager delete (#240) feature:add DeleteUndoLogs func, issue:#217 * frature: add update sql parser (#243) feature: parse select sql from update sql * feature: add license github action (#254) * add license github action * fix global transation time out (#258) * feature add fence for tcc, and add fence sample in tcc local mode. (#191) * frature: add update sql parser and remove tidb parser (#264) add update sql parser and remove tidb parser (#243) * fix ci failed because mock is invalid (#263) * optimize: nested loop retries (#261) * feat: add http tcc (#280) feat: add http tcc * feat: optimize retry (#284) feat: optimize retry * optimize: split client.Init into rm.Init and tm.Init methods (#286) optimize: nested loop retries (#261) * optimize: optimize global transaction usage (#281) * refact the tm executor and adjust the sample * optimize interface, adjust samples * fix ci * optimize comment * upgrade go version * add tx name configuration * add panic handler * feat: add has undo log table (#245) feat:add has undo log table func * (WIP)refactor:seata conn (#287) * refactor:seata conn * test: add unit test * test: add unit test * feat: add mysql update undo log builder (#288) feat: add mysql update undo log builder * change dubbo-go version (#302) optimize: change dubbo-go version * test:add DoParser ut (#299) test: add DoParser unit test * config github action not to automatically close ps or issue (#305) * 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 * 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> * Feat add mysql update after undo log builder (#289) feat: add mysql update after undo log builder * format:format code * format:format code * 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> * feat: init compressor type (#309) * init compressor type * refactor compress (#318) * init compressor type * init compressor type * reformat code * reformat code * 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 * feat: fix fanout test data race (#326) * Refactor seata conn (#295) * refactor:split xa and at logic * refactor:split xa and at logic * refactor:split xa and at logic * feat(compressor): deflate compress (#321) * feat(compressor): deflate compress 1. Optimize compressor type definition. (Don't start with package name). 2. Implement deflate compressor and ut. close #312 * refactor(compressor): revert compressor type definition * refactor(compressor): remove fmt.Println in ut * refactor(compressor): adjust the order of deflate compressor constants. * Add LZ4 compressor support. (#324) * feat: add lz4 compressor support. Signed-off-by: Wyatt Jia <i@eventloop.live> * fix lz4 compressor buffer error. Signed-off-by: Wyatt Jia <i@eventloop.live> * format code by goimports. * Add equal lz4 decompress test case and format code by goimports. Signed-off-by: Wyatt Jia <i@eventloop.live> * add zstd compress (#327) zstd compress Co-authored-by: xubaisheng <> * Feat add gzip (#322) * format:format code * feat:add gzip func * fix:comment unuseful code * fix: fix ret val and unit test assert * fix:gzip unit modify * fix:unit test param define modify Co-authored-by: wangrui130 <wangrui130@tal.com> Co-authored-by: 王瑞 <wangrui5@songguo7.com> * feat:add undo log manager-flush undo log func #269 (#307) add undo log manager-flush undo log func #269 * Feat add zip #315 (#329) * add zipcompress * Feat/multi update (#325) feat: add multi update * feature: add select for update (#319) * add select for update * wip:multi delete sql (#330) feat:multi delete sql Co-authored-by: wangxiaoxiong <wangxiaoxiong@asants.com> * test: strengthen ut (#332) * optimize at (#336) optimize at model * Feat add undo func (#320) add undo function * optimize: add insert undo log function (#337) add insert undo log function * doc: add sample undo_log table sql add sample mysql * optimize at commit branch (#346) * optimize at * fix:timeout config & panic log lost (#350) * fix timeout config & panic log lost * format & fix rollback * optimize meta data (#352) optimize meta data * optimize commit (#354) optimize commit * optimize commit (#354) optimize commit process * feat: modify some receiver name (#353) * feat: modify some receiver name * feat: add no transaction test * feat: update batch delete * Optimize rollback (#356) optimize rollback * feat: add gin for at and fix async worker bug (#357) * feature: support ONLY_CARE_UPDATE_COLUMNS (#355) support ONLY_CARE_UPDATE_COLUMNS & fix beforeImage error due to the struct shallow copy * Rollback (#358) * feat: rollback * feat: add at rollback sampel * feat: fix name * fix bug (#359) * Rollback1 (#360) * feat: rollback * feat: add at rollback sampel * feat: update * Fix meta data (#363) fix ColumnType * Fix decode image(#365) fix decode image * add data check before rollbeck (#366) * add data check before rollbeck * doc: v1.0.2-RC1 release file (#338) * optimize: remove unless function (#369) remove unless function * doc: update 1.0.2-RC1 change log (#370) * update 1.0.2-RC1 change log * fix: at sample (#374) fix at rolback sample * optimize: simplify to make codes more readable (#367) Signed-off-by: charlie <qianglin98@qq.com> * feat:add yml config (#285) add yml config * feat: support for propagation of global transactions (#262) * 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 * fix at smaple sql (#385) fix the table structure in testdata sql requires fewer fields than that in smaple (#385) * fix: loop recursion problem in OpenConnector (#387) fix: fix loop recursion problem in OpenConnector * add tcc fence config logic (#383) * add tcc fence config logic * add string loader * fix samples * fix samples * fix samples * fix samples * fix samples * fix samples * fix samples * merge Load and LoadPath * fix sample * optimize some format (#392) Co-authored-by: haohongfan1 <haohongfan1@jd.com> * optimize at base executor (#394) optimize at executor * feat: add tm config (#398) feat(pkg/client,pkg/config): add tm config * feat: add getty config (#399) add getty config * fix branch register response (#401) * fix branch register response * optimize protocol init (#400) * optimize protocol init * optimize RM init (#390) * OPT rm client * fix code style * fix lint * feat: support xa mysql connection (#380) * [wip]feat: support xa mysql connection Signed-off-by: charlie <qianglin98@qq.com> * Feat xa branch xid (#389) * feat: add xa branch xid Co-authored-by: 王瑞 <wangrui5@songguo7.com> * [AT] add insert on duplicate (#405) Co-authored-by: “kirhaku” <“2454546080@qq.com”> * optimize: refactor at executor (#397) * refactor at executor * refactor: use new tm config in tm module. (#411) * refactor: use new tm config in tm module. * roptimize: efactor delete and insert executor (#409) * refactor delete and insert executor * optimize: add log init (#408) * feature: add transport config (#406) * add transport config * refactor(compressor): rename defalte_compress_test.go to deflate_compress_test.go (#414) Co-authored-by: liushao <liushao@inke.cn> * feat: add RM config (#412) * feat: add rm config * optimize readme (#417) * feat: add service and seata config (#413) * feat: add Undo config (#410) add undo config * fix undo config (#418) fix undo config * opt: optimize comments and dead code (#388) * Apply getty config (#421) * apply getty config * feat: use undo config (#419) * use undo config * remove unused config (#422) * bugfix: repair init getty failed (#423) * bugfix: repair init getty failed * fix getty config (#424) * remove unused config * bugfix: at model execution failed (#429) * bugfix: at model execution failed * Optimize getty config (#430) * temporary not supported connection-num * use config (#436) * fix bug * doc: add v1.0.2-RC3 change log (#431) add change log for v1.0.2-RC3 * rename change-log to 1.0.3 (#443) Co-authored-by: liuyuecai <liuyuecai@didiglobal.com> * fix:when id autoincrement insert fail Signed-off-by: Wyatt Jia <i@eventloop.live> Signed-off-by: charlie <qianglin98@qq.com> Co-authored-by: Xin.Zh <dragoncharlie@foxmail.com> Co-authored-by: luky116_Liuyuecai <luky116@126.com> Co-authored-by: liiiiiibpm <1653433835@qq.com> Co-authored-by: AlexStocks <alexstocks@foxmail.com> Co-authored-by: liuyuecai <liuyuecai@didiglobal.com> Co-authored-by: 刘月财 <38887641+luky116@users.noreply.github.com> Co-authored-by: wangxiaoxiong <wangxiaoxiong@asants.com> Co-authored-by: lichen <liiiiiibpm@163.com> Co-authored-by: cgDeepLearn <cglearningnow@163.com> Co-authored-by: liiibpm <105549399+liiibpm@users.noreply.github.com> Co-authored-by: juzimao <578961953@qq.com> Co-authored-by: adair peng <1374854359@qq.com> Co-authored-by: Elrond G <elrondgcn@gmail.com> Co-authored-by: liushao <505786909@qq.com> Co-authored-by: liushao <liushao@inke.cn> Co-authored-by: Cr <631807682@qq.com> Co-authored-by: 野牛 <1251604436@qq.com> Co-authored-by: Jason Deng <76831112+jasondeng1997@users.noreply.github.com> Co-authored-by: liaochuntao <liaochuntao@live.com> Co-authored-by: windWheel <1817802738@qq.com> Co-authored-by: miaoxueyu <M__java@163.com> Co-authored-by: miaoxueyu <miaoxueyu@xs901.com> Co-authored-by: PangXing <pangxing_2006@126.com> Co-authored-by: georgehao <haohongfan@gmail.com> Co-authored-by: baerwang <52104949+baerwang@users.noreply.github.com> Co-authored-by: Shaozhou Hu <1094091844@qq.com> Co-authored-by: haohongfan1 <haohongfan1@jd.com> Co-authored-by: 王瑞 <wangrui5@songguo7.com> Co-authored-by: bitstring <wellschuan@gmail.com> Co-authored-by: FengZhang <zfcode@qq.com> Co-authored-by: Charlie17Li <qianglin98@qq.com> Co-authored-by: zhangym <40376181+zhangymPerson@users.noreply.github.com> Co-authored-by: lxfeng1997 <33981743+lxfeng1997@users.noreply.github.com> Co-authored-by: Kirhaku <38072436+Kirhaku@users.noreply.github.com> Co-authored-by: “kirhaku” <“2454546080@qq.com”> Co-authored-by: Zihao Yu <81380056+Chovyyyyyy@users.noreply.github.com>
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. module seata.apache.org/seata-go
  2. go 1.20
  3. require (
  4. dubbo.apache.org/dubbo-go/v3 v3.0.4
  5. github.com/DATA-DOG/go-sqlmock v1.5.0
  6. github.com/apache/dubbo-getty v1.5.0
  7. github.com/arana-db/parser v0.2.17
  8. github.com/bluele/gcache v0.0.2
  9. github.com/dsnet/compress v0.0.1
  10. github.com/dubbogo/gost v1.13.2
  11. github.com/gin-gonic/gin v1.9.1
  12. github.com/go-sql-driver/mysql v1.6.0
  13. github.com/goccy/go-json v0.10.2
  14. github.com/golang/mock v1.6.0
  15. github.com/google/uuid v1.3.0
  16. github.com/natefinch/lumberjack v2.0.0+incompatible
  17. github.com/pierrec/lz4/v4 v4.1.17
  18. github.com/pkg/errors v0.9.1
  19. github.com/prometheus/client_golang v1.12.2
  20. github.com/prometheus/common v0.32.1
  21. github.com/sijms/go-ora/v2 v2.5.17
  22. github.com/stretchr/testify v1.8.3
  23. go.uber.org/atomic v1.9.0
  24. go.uber.org/zap v1.27.0
  25. google.golang.org/grpc v1.56.3
  26. gopkg.in/yaml.v2 v2.4.0
  27. vimagination.zapto.org/byteio v0.0.0-20200222190125-d27cba0f0b10
  28. )
  29. require (
  30. github.com/agiledragon/gomonkey/v2 v2.12.0
  31. github.com/golang/protobuf v1.5.3
  32. go.etcd.io/etcd/api/v3 v3.5.6
  33. go.etcd.io/etcd/client/v3 v3.5.6
  34. google.golang.org/protobuf v1.30.0
  35. )
  36. require github.com/knadh/koanf v1.5.0
  37. require (
  38. github.com/RoaringBitmap/roaring v1.2.0 // indirect
  39. github.com/Workiva/go-datastructures v1.0.52 // indirect
  40. github.com/apache/dubbo-go-hessian2 v1.11.4 // indirect
  41. github.com/beorn7/perks v1.0.1 // indirect
  42. github.com/bits-and-blooms/bitset v1.2.0 // indirect
  43. github.com/bytedance/sonic v1.9.1 // indirect
  44. github.com/cespare/xxhash/v2 v2.2.0 // indirect
  45. github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 // indirect
  46. github.com/coreos/go-semver v0.3.0 // indirect
  47. github.com/coreos/go-systemd/v22 v22.3.2 // indirect
  48. github.com/creasty/defaults v1.5.2 // indirect
  49. github.com/davecgh/go-spew v1.1.1 // indirect
  50. github.com/gabriel-vasile/mimetype v1.4.2 // indirect
  51. github.com/gin-contrib/sse v0.1.0 // indirect
  52. github.com/go-ole/go-ole v1.2.6 // indirect
  53. github.com/go-playground/locales v0.14.1 // indirect
  54. github.com/go-playground/universal-translator v0.18.1 // indirect
  55. github.com/gogo/protobuf v1.3.2 // indirect
  56. github.com/golang/snappy v0.0.4 // indirect
  57. github.com/gorilla/websocket v1.4.2 // indirect
  58. github.com/jinzhu/copier v0.3.5 // indirect
  59. github.com/json-iterator/go v1.1.12 // indirect
  60. github.com/k0kubun/pp v3.0.1+incompatible // indirect
  61. github.com/klauspost/cpuid/v2 v2.2.4 // indirect
  62. github.com/leodido/go-urn v1.2.4 // indirect
  63. github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
  64. github.com/magiconair/properties v1.8.6 // indirect
  65. github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
  66. github.com/mitchellh/copystructure v1.2.0 // indirect
  67. github.com/mitchellh/mapstructure v1.5.0 // indirect
  68. github.com/mitchellh/reflectwalk v1.0.2 // indirect
  69. github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
  70. github.com/modern-go/reflect2 v1.0.2 // indirect
  71. github.com/mschoch/smat v0.2.0 // indirect
  72. github.com/pelletier/go-toml/v2 v2.0.8 // indirect
  73. github.com/pingcap/errors v0.11.5-0.20210425183316-da1aaba5fb63 // indirect
  74. github.com/pmezard/go-difflib v1.0.0 // indirect
  75. github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
  76. github.com/prometheus/client_model v0.2.0 // indirect
  77. github.com/prometheus/procfs v0.7.3 // indirect
  78. github.com/satori/go.uuid v1.2.1-0.20181028125025-b2ce2384e17b // indirect
  79. github.com/shirou/gopsutil/v3 v3.22.2 // indirect
  80. github.com/tklauser/go-sysconf v0.3.10 // indirect
  81. github.com/tklauser/numcpus v0.4.0 // indirect
  82. github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
  83. github.com/ugorji/go/codec v1.2.11 // indirect
  84. github.com/yusufpapurcu/wmi v1.2.2 // indirect
  85. go.etcd.io/etcd/client/pkg/v3 v3.5.6 // indirect
  86. go.uber.org/multierr v1.10.0 // indirect
  87. golang.org/x/arch v0.3.0 // indirect
  88. golang.org/x/text v0.14.0 // indirect
  89. gopkg.in/natefinch/lumberjack.v2 v2.0.0 // indirect
  90. gopkg.in/yaml.v3 v3.0.1 // indirect
  91. )
  92. require (
  93. github.com/BurntSushi/toml v1.1.0 // indirect
  94. github.com/go-playground/validator/v10 v10.14.0 // indirect
  95. github.com/klauspost/compress v1.15.11
  96. github.com/mattn/go-colorable v0.1.8 // indirect
  97. github.com/mattn/go-isatty v0.0.19 // indirect
  98. github.com/pelletier/go-toml v1.9.3 // indirect
  99. github.com/pingcap/log v0.0.0-20210906054005-afc726e70354 // indirect
  100. golang.org/x/crypto v0.21.0 // indirect
  101. golang.org/x/net v0.23.0 // indirect
  102. golang.org/x/sys v0.18.0 // indirect
  103. google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
  104. vimagination.zapto.org/memio v0.0.0-20200222190306-588ebc67b97d // indirect
  105. )
  106. replace github.com/dubbogo/gost => github.com/dubbogo/gost v1.13.2
  107. exclude github.com/polarismesh/polaris-go v1.3.0-alpha