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

Apply replication history events to passive cluster #643

Merged

Commits on Mar 31, 2018

  1. Apply replication history events to passive cluster

    Created history replicator which is invoked by the replicator for
    processing of history replication tasks.  It processes the history
    events from the replication task and make mutable state updates for each
    event.  Once all events are processed it commits the entire update using
    the workflowContext API used by rest of the stack.
    
    Also mutableStateBuilder changes to apply mutable state changes using
    the actual event.  This required some refactoring of mutableStateBuilder
    to reuse as much code as possible between replicator and rest of the
    stack.
    
    History service has new API ReplicateEvents which is called by the
    replicator to apply history events.
    
    Current this change only works for the happy case and is not guarded by
    version updates on the domain.
    Replicator does not support out of order processing of history
    replication tasks.
    samarabbas committed Mar 31, 2018
    Configuration menu
    Copy the full SHA
    18f05fe View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    afc11d7 View commit details
    Browse the repository at this point in the history
  3. addressed comments

    samarabbas committed Mar 31, 2018
    Configuration menu
    Copy the full SHA
    5805589 View commit details
    Browse the repository at this point in the history
  4. code review feedback

    samarabbas committed Mar 31, 2018
    Configuration menu
    Copy the full SHA
    7da5f3f View commit details
    Browse the repository at this point in the history