Skip to content

Commit

Permalink
Support events v2 for workflow history (cadence-workflow#1218)
Browse files Browse the repository at this point in the history
* schema

* fix schema

* Done API

* fix schema to use frozen

* fix api

* use dynamic config for eventsV2

* passing along historyV2

* stash

* stash

* finish startWF

* fix parent

* finish SignalWithStartWorkflowExecution

* Change eventsV2 API for perf improvement

* rewrite start/signalWithStart with new API changes

* remove isNewTree

* fix bug

* Rewrite startWF to go back to original flow

* Add eventStoreVersion

* rewrite eventStoreVersion part

* Done historyBranchs in mutableState

* fix all mutableState update

* Done deleteHistory

* fix getWFHistory

* Add eventStoreVersion and branchToken to idl

* fix idl

* Done getWFHistory

* remove unused code

* Use constant as eventsV2

* add last first eventID

* done ReadHistoryBranch for conflictResolver

* done ReadHistoryBranch for all

* fix import

* reset change for defaultHistoryPageSize

* move eventStoreVersion to replicationTask

* remove eventStoreVersion from event in code

* add schema for replication task for eventsV2

* remove tree_id in mutableState schema

* remove tree_id in mutableState in code

* add eventsV2 replication task dataInterface

* schema for new run replication task

* eventStoreVersion for replicationTask IDL

* done passing along newRunEventStoreVersionToPersistence

* done replicatorQprocessor

* process replication task for eventsV2

* remove unused code

* done persistence for executionInfo

* done persistence for replicationTaks

* fixing tests

* fix schema

* fix schema

* fix all persistence test

* fix getCurrentBranch

* fix all mocks

* fix mutableStatemock

* fix

* fix all build and service/history/conflictResolver_test.go

* fix bug

* fix dc

* fix all dc

* fix service/history/historyReplicator_test.go

* fix build for host tests

* fix typo

* fix linter

* check err

* fix bug
  • Loading branch information
longquanzheng authored Nov 13, 2018
1 parent e69b36d commit e8c5b5e
Show file tree
Hide file tree
Showing 69 changed files with 1,838 additions and 825 deletions.
4 changes: 2 additions & 2 deletions .gen/go/history/idl.go

Large diffs are not rendered by default.

262 changes: 246 additions & 16 deletions .gen/go/history/types.go

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions .gen/go/matching/idl.go

Large diffs are not rendered by default.

80 changes: 78 additions & 2 deletions .gen/go/matching/types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .gen/go/replicator/idl.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

122 changes: 100 additions & 22 deletions .gen/go/replicator/types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e8c5b5e

Please sign in to comment.