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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Put manual sync operations on SnapbackSM sync queue #991

Merged
merged 2 commits into from Oct 27, 2020

Conversation

piazzatron
Copy link
Contributor

@piazzatron piazzatron commented Oct 27, 2020

Description

Move manual syncs to snapback sync queue

Services

  • Discovery Provider
  • Creator Node
  • Identity Service
  • Libs
  • Contracts
  • Service Commands
  • Mad Dog

Does it touch a critical flow like Discovery indexing, Creator Node track upload, Creator Node gateway, or Creator Node file system?

  • 馃毃 Yes, this touches sync

How Has This Been Tested?

Wrote an integration test for snapbackSM, testing the ordering of queue operations.
Tested local dapp against full protocol stack, ensured syncs still worked as expected.

Copy link
Contributor

@SidSethi SidSethi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great to me, good stuff big mike
will leave approval to hareesh

creator-node/src/snapbackSM.js Show resolved Hide resolved
creator-node/src/snapbackSM.js Outdated Show resolved Hide resolved
creator-node/test/snapbackSM.test.js Outdated Show resolved Hide resolved
creator-node/test/snapbackSM.test.js Show resolved Hide resolved
Copy link
Contributor

@hareeshnagaraj hareeshnagaraj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

have some NIT comments but nothing related to the actual functioning code - this looks great!

creator-node/src/snapbackSM.js Show resolved Hide resolved
creator-node/src/snapbackSM.js Show resolved Hide resolved
creator-node/src/snapbackSM.js Outdated Show resolved Hide resolved
creator-node/src/routes/nodeSync.js Show resolved Hide resolved
@piazzatron piazzatron merged commit b4291cd into master Oct 27, 2020
@piazzatron piazzatron deleted the piazz-sync-queue branch October 27, 2020 17:58
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.

None yet

3 participants