Re: [devel] [PATCH 1/1] log: Update the try again for admin operation [#3056]

2019-07-02 Thread Lennart Lund
Hi Canh, Ack. Not tested Thanks Lennart Från: Canh Van Truong Skickat: den 1 juli 2019 12:23 Till: Lennart Lund; Vu Minh Nguyen Kopia: opensaf-devel@lists.sourceforge.net; Canh Van Truong Ämne: [PATCH 1/1] log: Update the try again for admin operation [#3056] T

[devel] [PATCH 0/3] Review Request for amfd: improve controller failover behavior [#3029]

2019-07-02 Thread Gary Lee
Summary: osaf: add function to return takeover request expiry time [#3029] Review request for Ticket(s): 3029 Peer Reviewer(s): Minh, Hans Pull request to: *** LIST THE PERSON WITH PUSH ACCESS HERE *** Affected branch(es): develop Development branch: ticket-3029 Base revision: 4f86e371d28a385f6890

[devel] [PATCH 2/3] fmd: add active promotion supervision timer [#3029]

2019-07-02 Thread Gary Lee
Add supervision timer so controller will reboot if it cannot obtain consensus lock within the allocation period (2* FMS_TAKEOVER_REQUEST_VALID_TIME). The peer controller can then safely perform a node failover after this period of time. --- src/fm/fmd/fm_cb.h| 2 ++ src/fm/fmd/fm_main.cc | 1

[devel] [PATCH 3/3] amfd: improve controller failover behavior [#3029]

2019-07-02 Thread Gary Lee
If consensus service is enabled, only perform node failover after peer controller has self-fenced (after 2 * FMS_TAKEOVER_REQUEST_VALID_TIME seconds). This also means if node failover delay is set to a large value, we do not unnecesarily wait too long before failing over assignments previously ass

[devel] [PATCH 1/3] osaf: add function to return takeover request expiry time [#3029]

2019-07-02 Thread Gary Lee
--- src/osaf/consensus/consensus.cc | 4 src/osaf/consensus/consensus.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/osaf/consensus/consensus.cc b/src/osaf/consensus/consensus.cc index 0bebab2..814885e 100644 --- a/src/osaf/consensus/consensus.cc +++ b/src/osaf/consensus/consen

[devel] [PATCH 1/1] amf: realign sg if si_dep_state of si in FAILOVER_UNDER_PROGRESS [#3054]

2019-07-02 Thread thang.d.nguyen
With SI dependency, when failover happen the failover is processed on SU had sponsor SI first. It also update the si_dep_state of dependent SI to FAILOVER_UNDER_PROGRESS. Then failover is processed on SU had dependent SI. But failover is deferred as sponsors role failover is under going. Amfd cras

[devel] [PATCH 0/1] Review Request for amf: realign sg if si_dep_state of si in FAILOVER_UNDER_PROGRESS [#3054]

2019-07-02 Thread thang.d.nguyen
Summary: amf: realign sg if si_dep_state of si in FAILOVER_UNDER_PROGRESS [#3054] Review request for Ticket(s): 3054 Peer Reviewer(s): Gary, Minh, Hans Pull request to: Minh Affected branch(es): develop Development branch: ticket-3054 Base revision: 4f86e371d28a385f689011a0effef8aaae65e713 Persona