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

feat: sync multiple subtrees #295

Merged
merged 5 commits into from
May 9, 2024
Merged

Conversation

ogabrielides
Copy link
Collaborator

@ogabrielides ogabrielides commented May 8, 2024

Issue being fixed or feature implemented

Until now, state syncing was made one subtree at a time sequentially. This has an room for optimization.

What was done?

Each time a new subtree is synced, grovedb discovers any new subtrees that can be synced and starts fetching for them in parallel.

How Has This Been Tested?

Breaking Changes

no

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

@QuantumExplorer QuantumExplorer merged commit 5b67055 into develop May 9, 2024
7 checks passed
@QuantumExplorer QuantumExplorer deleted the feat/sync-multiple-trees branch May 9, 2024 09:05
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.

2 participants