incubator-seata-go
incubator-seata-go copied to clipboard
optimize: optimize global transaction usage
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
Codecov Report
Merging #281 (ad36048) into master (b4968df) will decrease coverage by
0.25%. The diff coverage is18.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.