GitHub user tillrohrmann opened a pull request:

    https://github.com/apache/flink/pull/4584

    [FLINK-7507] [dispatcher] Fence Dispatcher

    ## What is the purpose of the change
    
    Let the Dispatcher extend the FencedRpcEndpoint and introduce DispatcherId 
which
    replaces the UUID as leader id/fencing token.
    
    ## Verifying this change
    
    This change is already covered by existing tests, such as 
`FencedRpcEndpointTest`.
    
    ## Does this pull request potentially affect one of the following parts:
    
      - Dependencies (does it add or upgrade a dependency): (no)
      - The public API, i.e., is any changed class annotated with 
`@Public(Evolving)`: (no)
      - The serializers: (no)
      - The runtime per-record code paths (performance sensitive): (no)
      - Anything that affects deployment or recovery: JobManager (and its 
components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
    
    ## Documentation
    
      - Does this pull request introduce a new feature? (no)
      - If yes, how is the feature documented? (not applicable)
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/tillrohrmann/flink fenceDispatcher

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/4584.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #4584
    
----
commit b32d25b356e8509ad725aa2a160d9018b655bee8
Author: Till Rohrmann <[email protected]>
Date:   2017-08-16T12:36:13Z

    [FLINK-7457] Make Dispatcher highly available
    
    This commit introduces a dispatcher leader election and retrieval service 
to the
    HighAvailabilityServices. Moreover it adds code such that the Dispatcher 
now takes
    part in the leader election process using the afore-mentioned services.
    
    Let Dispatcher participate in leader election
    
    Add test for Dispatcher leader election

commit a86526adffa6dd1c60e09bee0aa845f124235aab
Author: Till Rohrmann <[email protected]>
Date:   2017-08-22T14:33:05Z

    [FLINK-7489] Remove startJobExecution and suspendExecution from 
JobMasterGateway
    
    The job lifecycle methods should not be exposed as RPCs. Therefore, this 
commit
    removes them from the JobMasterGateway definition.

commit 8a30604e01273d7ded6262c6ed1a1cb009442411
Author: Till Rohrmann <[email protected]>
Date:   2017-08-23T15:08:55Z

    [FLINK-7078] [rpc] Introduce FencedRpcEndpoint
    
    Introduce FencedRpcEndpoint which requires all RPC messages to have a
    fencing token attached. Based on the received fencing token and the
    actual fencing token, the message will either be discarded if they are
    not equal or it will be processed. That way we are able to filter out
    old messages or messages which originate from a split brain situation
    
    Add support for callAsyncWithoutFencing

commit 34a42e99726fa9b7fd3e0786cf7c323ba116d154
Author: Till Rohrmann <[email protected]>
Date:   2017-08-24T17:16:10Z

    [FLINK-7507] [dispatcher] Fence Dispatcher
    
    Let the Dispatcher extend the FencedRpcEndpoint and introduce DispatcherId 
which
    replaces the UUID as leader id/fencing token.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to