brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ahgittin <>
Subject [GitHub] brooklyn-server pull request #879: Elect primary / failover policies
Date Mon, 06 Nov 2017 14:38:43 GMT
GitHub user ahgittin opened a pull request:

    Elect primary / failover policies

    Adds an `ElectPrimaryPolicy` and related items to facilitate contexts which want a primary
node, with failover/reelection, and ability to propagate sensors from primary, specify preferences,
and invoke methods on promote/demote.
    Depends on (and includes) #878 which adds some minor enhancements elsewhere.
    See docs PR to follow for example and more explanation.

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

    $ git pull elect-primary-failover

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

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

    This closes #879
commit e797cbe179e0483599474a66141ed30d5f8c607a
Author: Alex Heneveld <>
Date:   2017-11-02T15:35:58Z

    failing test illustrating problem

commit 95c5b1e78fba24e37216e99c209568a5e3cf2fec
Author: Alex Heneveld <>
Date:   2017-11-02T15:20:17Z

    share code for inferring execution context, and ensure EC is set in subscriptions

commit a70a5535b09d474153a2e71e8db5c6528a58107c
Author: Alex Heneveld <>
Date:   2017-11-02T16:50:53Z

    allow Task.warning that doesn't log

commit 2900156d8988a16e2c7de8847de648ceaa62cfae
Author: Alex Heneveld <>
Date:   2017-11-02T16:51:06Z

    support more ManagementContext.lookup including predicates, adjuncts, lookupAll

commit 447cac711463f5ef1bf685759f167e88580b759e
Author: Alex Heneveld <>
Date:   2017-11-03T14:13:50Z

    suppress warning on task finalization if its execution context is shutdown

commit 6fa3b7aa1bd21eb12fcc00b03d172f1773362263
Author: Alex Heneveld <>
Date:   2017-11-03T14:14:15Z

    routine to `assertEntityHealthyEventually`

commit ebc930a023c06bacfc01b73018d708488efaa11d
Author: Alex Heneveld <>
Date:   2017-11-06T13:58:27Z

    minor tidies to javadoc, propagate fatal exceptions

commit 62706c69270fe5a7133c42452a687adbedebc68c
Author: Alex Heneveld <>
Date:   2017-11-06T13:59:30Z

    add policies for electing primaries



View raw message