Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set reconciliation replication strategy #573

Draft
wants to merge 24 commits into
base: main
Choose a base branch
from

Conversation

sandreae
Copy link
Member

@sandreae sandreae commented Sep 24, 2023

Implementation of range-based set reconciliation replication strategy using unionize 🎉

📋 Checklist

  • Add tests that cover your changes
  • Add this PR to the Unreleased section in CHANGELOG.md
  • Link this PR to any issues it closes
  • New files contain a SPDX license header

@codecov
Copy link

codecov bot commented Sep 24, 2023

Codecov Report

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

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

Additional details and impacted files
@@            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 Coverage Δ
aquadoggo/src/replication/strategies/mod.rs 80.00% <ø> (ø)
aquadoggo/src/replication/strategies/log_height.rs 97.01% <93.75%> (-0.35%) ⬇️
aquadoggo/src/db/stores/operation.rs 98.11% <97.67%> (+8.48%) ⬆️
...o/src/replication/strategies/set_reconciliation.rs 96.63% <97.78%> (+96.63%) ⬆️
aquadoggo/src/replication/strategies/tests.rs 98.46% <98.46%> (ø)
aquadoggo/src/replication/strategies/common.rs 99.31% <99.31%> (ø)
aquadoggo/src/replication/manager.rs 87.78% <100.00%> (-0.13%) ⬇️
aquadoggo/src/replication/message.rs 86.73% <100.00%> (+11.46%) ⬆️
aquadoggo/src/replication/session.rs 89.88% <100.00%> (+0.59%) ⬆️

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sandreae sandreae linked an issue Sep 24, 2023 that may be closed by this pull request
@adzialocha adzialocha marked this pull request as draft September 26, 2023 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replication strategy: set reconciliation protocol
1 participant