p2panda / aquadoggo

Node for the p2panda network handling validation, storage, aggregation and replication
GNU Affero General Public License v3.0
69 stars 5 forks source link

Set reconciliation replication strategy #573

Open sandreae opened 11 months ago

sandreae commented 11 months ago

Implementation of range-based set reconciliation replication strategy using unionize :tada:

📋 Checklist

codecov[bot] commented 11 months ago

Codecov Report

Patch coverage: 98.28% and project coverage change: +0.55% :tada:

Comparison is base (123fac4) 92.42% compared to head (2d6f10f) 92.98%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #573 +/- ## ========================================== + Coverage 92.42% 92.98% +0.55% ========================================== Files 106 108 +2 Lines 18164 18779 +615 ========================================== + Hits 16788 17461 +673 + Misses 1376 1318 -58 ``` | [Files Changed](https://app.codecov.io/gh/p2panda/aquadoggo/pull/573?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=p2panda) | Coverage Δ | | |---|---|---| | [aquadoggo/src/replication/strategies/mod.rs](https://app.codecov.io/gh/p2panda/aquadoggo/pull/573?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=p2panda#diff-YXF1YWRvZ2dvL3NyYy9yZXBsaWNhdGlvbi9zdHJhdGVnaWVzL21vZC5ycw==) | `80.00% <ø> (ø)` | | | [aquadoggo/src/replication/strategies/log\_height.rs](https://app.codecov.io/gh/p2panda/aquadoggo/pull/573?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=p2panda#diff-YXF1YWRvZ2dvL3NyYy9yZXBsaWNhdGlvbi9zdHJhdGVnaWVzL2xvZ19oZWlnaHQucnM=) | `97.01% <93.75%> (-0.35%)` | :arrow_down: | | [aquadoggo/src/db/stores/operation.rs](https://app.codecov.io/gh/p2panda/aquadoggo/pull/573?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=p2panda#diff-YXF1YWRvZ2dvL3NyYy9kYi9zdG9yZXMvb3BlcmF0aW9uLnJz) | `98.11% <97.67%> (+8.48%)` | :arrow_up: | | [...o/src/replication/strategies/set\_reconciliation.rs](https://app.codecov.io/gh/p2panda/aquadoggo/pull/573?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=p2panda#diff-YXF1YWRvZ2dvL3NyYy9yZXBsaWNhdGlvbi9zdHJhdGVnaWVzL3NldF9yZWNvbmNpbGlhdGlvbi5ycw==) | `96.63% <97.78%> (+96.63%)` | :arrow_up: | | [aquadoggo/src/replication/strategies/tests.rs](https://app.codecov.io/gh/p2panda/aquadoggo/pull/573?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=p2panda#diff-YXF1YWRvZ2dvL3NyYy9yZXBsaWNhdGlvbi9zdHJhdGVnaWVzL3Rlc3RzLnJz) | `98.46% <98.46%> (ø)` | | | [aquadoggo/src/replication/strategies/common.rs](https://app.codecov.io/gh/p2panda/aquadoggo/pull/573?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=p2panda#diff-YXF1YWRvZ2dvL3NyYy9yZXBsaWNhdGlvbi9zdHJhdGVnaWVzL2NvbW1vbi5ycw==) | `99.31% <99.31%> (ø)` | | | [aquadoggo/src/replication/manager.rs](https://app.codecov.io/gh/p2panda/aquadoggo/pull/573?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=p2panda#diff-YXF1YWRvZ2dvL3NyYy9yZXBsaWNhdGlvbi9tYW5hZ2VyLnJz) | `87.78% <100.00%> (-0.13%)` | :arrow_down: | | [aquadoggo/src/replication/message.rs](https://app.codecov.io/gh/p2panda/aquadoggo/pull/573?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=p2panda#diff-YXF1YWRvZ2dvL3NyYy9yZXBsaWNhdGlvbi9tZXNzYWdlLnJz) | `86.73% <100.00%> (+11.46%)` | :arrow_up: | | [aquadoggo/src/replication/session.rs](https://app.codecov.io/gh/p2panda/aquadoggo/pull/573?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=p2panda#diff-YXF1YWRvZ2dvL3NyYy9yZXBsaWNhdGlvbi9zZXNzaW9uLnJz) | `89.88% <100.00%> (+0.59%)` | :arrow_up: | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/p2panda/aquadoggo/pull/573/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=p2panda)

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