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

Unify ReadHistoryBranch logic #1441

Merged

Conversation

wxing1292
Copy link
Contributor

What changed?

  • New InternalHistoryNode struct containing history node info
  • Modify SQL persistence layer to use key set pagination, instead of existing hacky solution
  • ReadHistoryBranch in addition will allow returning history node metadata only
  • Move history node filtering logic from persistence layer to upper history store layer

Why?
Unify history node filtering logic
Pre-requisite of events chaining verification
Close #1403

How did you test it?
Existing tests

Potential risks
Modification of core logic

Is hotfix candidate?
No

* New InternalHistoryNode struct containing history node info
* Modify SQL persistence layer to use key set pagination, instead of existing hacky solution
* ReadHistoryBranch in addition will allow returning history node metadata only
* Move history node filtering logic from persistence layer to upper history store layer
@wxing1292 wxing1292 enabled auto-merge (squash) April 13, 2021 22:43
@wxing1292 wxing1292 merged commit fd744a8 into temporalio:master Apr 13, 2021
@wxing1292 wxing1292 deleted the events-chaining-key-set-pagination branch April 13, 2021 23:14
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.

tctl admin workflow show should dump all history events without filtering
2 participants