incubator-seata-go icon indicating copy to clipboard operation
incubator-seata-go copied to clipboard

optimize: optimize global transaction usage

Open 106umao opened this issue 3 years ago • 1 comments

The current use of global transactions is cumbersome for the user, and I'll encapsulate an interface to optimize the it

provide a interface tm.WithGlobalTx to use the global transaction in easy

106umao avatar Sep 18 '22 16:09 106umao

Codecov Report

Merging #281 (ad36048) into master (b4968df) will decrease coverage by 0.25%. The diff coverage is 18.18%.

@@            Coverage Diff             @@
##           master     #281      +/-   ##
==========================================
- Coverage   50.29%   50.04%   -0.26%     
==========================================
  Files          64       64              
  Lines        3364     3383      +19     
==========================================
+ Hits         1692     1693       +1     
- Misses       1582     1600      +18     
  Partials       90       90              
Impacted Files Coverage Δ
pkg/tm/transaction_executor.go 52.17% <18.18%> (-17.83%) :arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

codecov-commenter avatar Sep 23 '22 17:09 codecov-commenter