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

Add iterators and writers for persistence and blobstore for scanner workflow #3234

Merged

Conversation

andrewjdawson2016
Copy link
Contributor

What changed?

These iterators and writes will be used in scanner and fixer workflow.

There are unit tests for generic write and iterator but I will write more for the concrete impls.

@andrewjdawson2016 andrewjdawson2016 changed the title Add iterators and writes for persistence and blobstore for scanner workflow Add iterators and writers for persistence and blobstore for scanner workflow May 5, 2020
@coveralls
Copy link

coveralls commented May 5, 2020

Coverage Status

Coverage increased (+0.04%) to 68.909% when pulling de1631a on andrewjdawson2016:WriterAndIterator into 7178f2a on uber:master.

// TODO: check with Yu that this is correct
branchToken := e.ExecutionInfo.BranchToken
if e.VersionHistories != nil {
branchToken = e.VersionHistories.Histories[e.VersionHistories.CurrentVersionHistoryIndex].BranchToken
Copy link
Contributor

@yux0 yux0 May 5, 2020

Choose a reason for hiding this comment

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

nit: I think you may do versionHistories.GetCurrentVersionHistory().BranchToken

@andrewjdawson2016 andrewjdawson2016 merged commit c9d4837 into cadence-workflow:master May 6, 2020
@andrewjdawson2016 andrewjdawson2016 deleted the WriterAndIterator branch May 6, 2020 07:59
mkolodezny pushed a commit to mkolodezny/cadence that referenced this pull request May 11, 2020
yux0 pushed a commit to yux0/cadence that referenced this pull request May 4, 2021
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.

5 participants