[ovs-build] Passed: ovsrobot/ovs#1447 (series_126832 - 76cc13c)

Travis CI builds at travis-ci.org
Thu Aug 22 23:02:54 UTC 2019


Build Update for ovsrobot/ovs
-------------------------------------

Build: #1447
Status: Passed

Duration: 1 hr, 4 mins, and 42 secs
Commit: 76cc13c (series_126832)
Author: Han Zhou
Message: raft.c: Election timer initial reset with value from log.

After election timer is changed through cluster/change-election-timer
command, if a server restarts, it firstly initializes with the default
value and use it to reset the timer. Although it reads the latest
timer value later from the log, the first timeout may be much shorter
than expected by other servers that use latest timeout, and it would
start election before it receives the first heartbeat from the leader.

This patch fixes it by changing the order of reading log and resetting
timer so that the latest value is read from the log before the initial
resetting of the timer.

Fixes: commit 8e35461 ("ovsdb raft: Support leader election time change online.")
Signed-off-by: Han Zhou <hzhou8 at ebay.com>
Signed-off-by: 0-day Robot <robot at bytheb.org>

View the changeset: https://github.com/ovsrobot/ovs/compare/aeb6566db764^...76cc13cdab53

View the full build log and details: https://travis-ci.org/ovsrobot/ovs/builds/575565503?utm_medium=notification&utm_source=email

--

You can unsubscribe from build emails from the ovsrobot/ovs repository going to https://travis-ci.org/account/preferences/unsubscribe?repository=22285853&utm_medium=notification&utm_source=email.
Or unsubscribe from *all* email updating your settings at https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notification&utm_source=email.
Or configure specific recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-build/attachments/20190822/dde1885b/attachment-0001.html>


More information about the build mailing list