1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/ctdb
Amitay Isaacs d7a5cd589b ctdb-daemon: Send STARTUP control after startup event
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13154

STARTUP control is primarily used to synchronise tcp tickles from running
nodes to a node which has just started up.  Earlier STARTUP control was
sent (using BROADCAST_ALL) after setup event.  Once the other nodes in
the cluster connected to this node, the queued up messages would be sent
and the tcp tickles would get synchronised.

Recent fix to drop messages to disconnected or not-yet-connected nodes,
the STARTUP control was never sent to the remote nodes and the tcp
tickles did not get synchronised.

To fix this problem send the STARTUP control (using BROADCAST_CONNECTED)
after startup event.  By this time all the running nodes in the cluster
are connected.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>

Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Thu Nov 30 15:29:48 CET 2017 on sn-devel-144
2017-11-30 15:29:48 +01:00
..
client ctdb-client: Fix CID 1419820 2017-10-23 19:45:08 +02:00
common ctdb-common: Add special monitor handling to run_event abstraction 2017-11-24 11:49:19 +01:00
config ctdb-scripts: Don't bother checking PID file when starting ctdbd 2017-11-07 03:53:27 +01:00
doc ctdb-protocol: Add req_tunnel counts to ctdb statistics 2017-10-10 11:45:19 +02:00
ib ctdb-ib: Fix DEBUG log messages 2016-08-10 08:18:16 +02:00
include ctdb-daemon: Add code to process ctdb_req_tunnel packets 2017-10-10 11:45:19 +02:00
packaging/RPM ctdb-packaging: Remove mkversion.sh script 2017-05-24 17:03:28 +02:00
protocol ctdb-protocol: Fix typo in type of return variable 2017-10-16 05:28:19 +02:00
server ctdb-daemon: Send STARTUP control after startup event 2017-11-30 15:29:48 +01:00
tcp ctdb-tcp: Fix CID 1362724 Unchecked return value from library 2016-08-17 23:00:25 +02:00
tests ctdb-tests: Make sure child processes are waited on after termination 2017-11-24 11:49:19 +01:00
tools ctdb-tools: Drop duplicate output from dbstatistics 2017-10-23 15:41:10 +02:00
utils ctdb-client: Move sync API to a separate header 2017-06-07 16:05:27 +02:00
.bzrignore more code rearrangement 2007-06-07 22:16:48 +10:00
.gitignore git: Ignore generated documentation files 2013-10-22 13:07:13 +11:00
configure ctdb-build: Allow configure and Makefile to find waf in tarball 2014-09-10 01:36:14 +02:00
configure.rpm ctdb-packaging: Package private libraries 2015-07-01 07:19:43 +02:00
COPYING add a licence file 2009-02-07 08:10:34 +11:00
Makefile ctdb-build: Add WAFLOCK magic to manpages target 2017-02-26 23:13:25 +01:00
README doc: README - add information about CTDB, license and website 2012-10-22 17:39:49 +11:00
wscript build: Move socket_wrapper to third_party 2017-11-25 10:14:13 +01:00

This is the release version of CTDB, a clustered implementation of TDB
database used by Samba and other projects to store temporary data.

This software is freely distributable under the GNU public license,
a copy of which you should have received with this software (in a file
called COPYING).

For documentation on CTDB, please visit CTDB website http://ctdb.samba.org.