trpc-group / trpc-cpp

A pluggable, high-performance RPC framework written in cpp
Other
269 stars 79 forks source link

BugFix: fix the problem of uneven traffic using backup request in IP direct connection scenario #106

Closed chhy2009 closed 7 months ago

codecov[bot] commented 7 months ago

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (ffcfe9f) 81.79163% compared to head (3a9a394) 81.71796%. Report is 4 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/trpc-group/trpc-cpp/pull/106/graphs/tree.svg?width=650&height=150&src=pr&token=7csQnBLsa9&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=trpc-group)](https://app.codecov.io/gh/trpc-group/trpc-cpp/pull/106?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=trpc-group) ```diff @@ Coverage Diff @@ ## main #106 +/- ## =================================================== - Coverage 81.79163% 81.71796% -0.07367% =================================================== Files 855 855 Lines 33902 33924 +22 =================================================== - Hits 27729 27722 -7 - Misses 6173 6202 +29 ``` | [Files](https://app.codecov.io/gh/trpc-group/trpc-cpp/pull/106?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=trpc-group) | Coverage Δ | | |---|---|---| | [trpc/config/trpc\_conf.h](https://app.codecov.io/gh/trpc-group/trpc-cpp/pull/106?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=trpc-group#diff-dHJwYy9jb25maWcvdHJwY19jb25mLmg=) | `100.00000% <ø> (ø)` | | | [...pc/coroutine/fiber\_blocking\_noncontiguous\_buffer.h](https://app.codecov.io/gh/trpc-group/trpc-cpp/pull/106?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=trpc-group#diff-dHJwYy9jb3JvdXRpbmUvZmliZXJfYmxvY2tpbmdfbm9uY29udGlndW91c19idWZmZXIuaA==) | `98.27586% <100.00000%> (+0.09403%)` | :arrow_up: | | [.../runtime/iomodel/reactor/fiber/fiber\_connection.cc](https://app.codecov.io/gh/trpc-group/trpc-cpp/pull/106?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=trpc-group#diff-dHJwYy9ydW50aW1lL2lvbW9kZWwvcmVhY3Rvci9maWJlci9maWJlcl9jb25uZWN0aW9uLmNj) | `55.08982% <100.00000%> (+0.54437%)` | :arrow_up: | | [...c/runtime/iomodel/reactor/fiber/fiber\_connection.h](https://app.codecov.io/gh/trpc-group/trpc-cpp/pull/106?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=trpc-group#diff-dHJwYy9ydW50aW1lL2lvbW9kZWwvcmVhY3Rvci9maWJlci9maWJlcl9jb25uZWN0aW9uLmg=) | `25.00000% <ø> (ø)` | | | [...time/iomodel/reactor/fiber/fiber\_tcp\_connection.cc](https://app.codecov.io/gh/trpc-group/trpc-cpp/pull/106?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=trpc-group#diff-dHJwYy9ydW50aW1lL2lvbW9kZWwvcmVhY3Rvci9maWJlci9maWJlcl90Y3BfY29ubmVjdGlvbi5jYw==) | `65.50000% <100.00000%> (-0.99747%)` | :arrow_down: | | [trpc/common/runtime\_manager.cc](https://app.codecov.io/gh/trpc-group/trpc-cpp/pull/106?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=trpc-group#diff-dHJwYy9jb21tb24vcnVudGltZV9tYW5hZ2VyLmNj) | `77.94118% <90.00000%> (+2.13473%)` | :arrow_up: | | [trpc/naming/common/util/utils\_help.cc](https://app.codecov.io/gh/trpc-group/trpc-cpp/pull/106?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=trpc-group#diff-dHJwYy9uYW1pbmcvY29tbW9uL3V0aWwvdXRpbHNfaGVscC5jYw==) | `91.66667% <86.66667%> (-8.33334%)` | :arrow_down: | ... and [17 files with indirect coverage changes](https://app.codecov.io/gh/trpc-group/trpc-cpp/pull/106/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=trpc-group)