Skip to content

feat(statesync): implement statesync spec for the new approach#663

Merged
shotonoff merged 22 commits intov0.13-devfrom
feat/statesync-implement-spec-for-new-approach
Jul 19, 2023
Merged

feat(statesync): implement statesync spec for the new approach#663
shotonoff merged 22 commits intov0.13-devfrom
feat/statesync-implement-spec-for-new-approach

Conversation

@shotonoff
Copy link
Collaborator

@shotonoff shotonoff commented Jul 19, 2023

Issue being fixed or feature implemented

To be able to perform state synchronization in Dash Platform, Tenderdash must be compatible with some restriction of GroveDB.
This PR contains the changes of a new approach state synchonization, that is described in specification

What was done?

  • Replaced chunk index on chunk ID. Chunk Index is the number of the piece of data of a snapshot. Chunk ID is the path to the root node of subtree.
  • Replaced format field on version
  • Added the new apply chunk result: complete, to be able to get a final status of a snapshot

How Has This Been Tested?

Unit Tests / E2E tests

Breaking Changes

The original way of replicating state synchronization is obsolete and has been replaced by another approach

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

@shotonoff shotonoff changed the title Feat/statesync implement spec for new approach feat(statesync): implement statesync spec for the new approach Jul 19, 2023
@QuantumExplorer
Copy link
Member

Was told this was already reviewed, so I'm accepting it.

@shotonoff shotonoff merged commit 51b15af into v0.13-dev Jul 19, 2023
@lklimek lklimek deleted the feat/statesync-implement-spec-for-new-approach branch February 1, 2024 13:36
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.

3 participants