eBay / nuraft_mesg

A session management and gRPC service layer for NuRaft.
Apache License 2.0
6 stars 11 forks source link

Data api impl #40

Closed raakella1 closed 9 months ago

raakella1 commented 9 months ago

data service APIs (unidirectional and bidirectional) can be used to send rpc to the raft peers. The destination can be either a specific peer or based on the role of the peer (leader follower etc)

codecov-commenter commented 9 months ago

Codecov Report

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

Comparison is base (2268a58) 75.45% compared to head (5a4d744) 76.82%. Report is 1 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #40 +/- ## ========================================== + Coverage 75.45% 76.82% +1.37% ========================================== Files 20 20 Lines 770 820 +50 Branches 79 91 +12 ========================================== + Hits 581 630 +49 + Misses 136 132 -4 - Partials 53 58 +5 ``` | [Files](https://app.codecov.io/gh/eBay/nuraft_mesg/pull/40?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eBay) | Coverage Δ | | |---|---|---| | [src/include/nuraft\_mesg/mesg\_factory.hpp](https://app.codecov.io/gh/eBay/nuraft_mesg/pull/40?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eBay#diff-c3JjL2luY2x1ZGUvbnVyYWZ0X21lc2cvbWVzZ19mYWN0b3J5LmhwcA==) | `100.00% <ø> (ø)` | | | [src/include/nuraft\_mesg/mesg\_state\_mgr.hpp](https://app.codecov.io/gh/eBay/nuraft_mesg/pull/40?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eBay#diff-c3JjL2luY2x1ZGUvbnVyYWZ0X21lc2cvbWVzZ19zdGF0ZV9tZ3IuaHBw) | `100.00% <ø> (ø)` | | | [src/lib/manager\_impl.hpp](https://app.codecov.io/gh/eBay/nuraft_mesg/pull/40?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eBay#diff-c3JjL2xpYi9tYW5hZ2VyX2ltcGwuaHBw) | `50.00% <ø> (ø)` | | | [src/lib/manager\_impl.cpp](https://app.codecov.io/gh/eBay/nuraft_mesg/pull/40?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eBay#diff-c3JjL2xpYi9tYW5hZ2VyX2ltcGwuY3Bw) | `79.91% <90.90%> (+4.04%)` | :arrow_up: | | [src/lib/mesg\_client.cpp](https://app.codecov.io/gh/eBay/nuraft_mesg/pull/40?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eBay#diff-c3JjL2xpYi9tZXNnX2NsaWVudC5jcHA=) | `90.00% <91.83%> (-0.13%)` | :arrow_down: | ... and [2 files with indirect coverage changes](https://app.codecov.io/gh/eBay/nuraft_mesg/pull/40/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eBay)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.