Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support events v2 for workflow history (cadence-workflow#1218)
* 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