[SCM] CTDB repository - annotated tag ctdb-1.11 created - ctdb-1.11
Ronnie Sahlberg
sahlberg at samba.org
Wed Aug 31 21:39:22 MDT 2011
The annotated tag, ctdb-1.11 has been created
at 3bf7313652c6b3caa33a1dd948115056806fb43d (tag)
tagging ee9bf1565383bcca70950e9c20fe6b4d0181ce8d (commit)
replaces ctdb-1.10
tagged by Ronnie Sahlberg
on Thu Sep 1 13:37:17 2011 +1000
- Log -----------------------------------------------------------------
tag for 1.11
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iQEcBAABAgAGBQJOXv32AAoJEB6eS+vwPaeGfXUH/3G7IUd2aq5hRpMNv4Q9LfxL
42e1E8TUNOTtspMp8FzhGVukIRECNucE9d+CmzhjmMIayYTSyEhk5BWrQkGCeK/s
EnM8UwKYvLMiZh/jjYNaTnpYMhCcSyCFKNHxp6i+3OVh1zx52zN9BV1K4/H+gSZl
U7ZgIR/ZtBT36ePbS+rATaaMmdx5pi/lk/YbfZskuqvjjpURrZP5C56TndvrOxff
1fOyOdVUm/YBkpKeK/KwPE6agpDkEvsO5209GVaonP6RSGGRZSz5VoE6WoIRORYo
5OZdwHogRzRqJ05kYNsfVuGlxe5UKcPQzWhavyezztaam0gpXQAROiIvMn7UfgM=
=H4I+
-----END PGP SIGNATURE-----
Chandra Seetharaman (1):
make changes to ctdb event scripts to support NFS-Ganesha.
Christian Ambach (1):
improve timing issue detections
David Disseldorp (3):
web: use the new git repository url on the download page
client: handle transient connection errors
io: Make queue_io_read() safe for reentry
Gregor Beck (4):
ctdb catdb: fix escaping of '"' and '\'
add ltdbtool - a standalone ltdb tool
ltdbtool: add manpage
ltdbtool: add manpage html + roff
Luk Claes (3):
doc/ctdb.1.xml: Fix typo
doc: regenerate ctdb docs
doc/ctdb.1.xml: update listvars documentation
Martin Schwenke (203):
Test suite: make statistics test cope with changes to statistics output.
Test suite: match changed output for ctdb ping to disconnected node.
Test suite: fix typo in ctdb ping test grep pattern.
60.nfs only fails or warns after 10 consecutive nfsd/statd failures.
Make a time comparison in 60.nfs eventscript more readable.
Eventscripts: make loadconfig() function hookable by the test suite.
50.samba eventscript should stop/start services when they become (un)managed.
Eventscript functions - catch failures in ctdb_service_start().
60.nfs eventscript should do nothing if NFS isn't managed by CTDB.
Eventscripts: work around NFS restart failure under load.
Eventscripts: print a message when reconfiguring a service.
Eventscripts: only autostart during a monitor event.
Eventscripts: use "startstop_nfs restart" to reconfigure NFS.
Eventscripts: lower the fail/restart limits for nfsd.
onnode - Fix long standing bug in onnode healthy/ok/connected/con.
onnode: Be defensive when listing IPs of nodes with designated status.
onnode: Exit with error for unknown command-line flags.
onnode: Future-proof get_nodes_with_status().
onnode: Remove an unnecessary comment.
onnode: fix get_nodes_with_status()
onnode: fix natgwlist nodespec
IP allocation - add LCP2 algorithm.
Tests: Initial test code for LCP2 IP allocation algorithm.
IP allocation simulation - add debug output using -vv.
IP reallocation simulation - remove --hack option.
IP allocation simulation - remove unused function find_least_loaded_node().
IP allocation simulation - options.exit is boolean, so don't compare with 0.
IP allocation simulation - add LCP2 algorithm.
IP allocation simulation - add -H/-S options for hard/soft imbalance limit.
IP allocation simulation - add analysis of IP groups.
IP allocation simulation - add LCP2 imbalance metric to node state output.
IP allocation simulation - add -A/--aggressive option.
IP allocation simulation - add mean imbalance statistics.
IP allocation simulation - fix documentation for diff() function.
IP allocation simulation - tighten up termination condition for -x.
IP allocation simulation - add examples.
IP allocation simulation - make stats label for LCP2 imbalance more meaningful.
IP allocation simulation - make stats label for LCP2 imbalance more meaningful.
IP allocation simulation - Pad IPv4 addresses in LCP2 algorithm.
Eventscripts - 10.interfaces should not check orphaned interfaces.
ctdb natgwlist should return non-zero when there is no natgw.
Test suite: add a -d option to the run_tests script.
Tests: change output format of run_tests script and add -q option
Tests: add initial onnode tests
Tests: onnode tests changed to use a simple define_test() function.
Tests: run_tests script no longer prints filename in summary descriptions.
Tests: eventscripts and onnode tests use stubs/ subdirectory instead of bin/.
Test suite: add time logging.
Test suite: make time logging only happen on a real cluster, not local daemons.
Test suite: CTDB_NFS_SKIP_SHARE_CHECK test now uses _loadconfig().
Test suite: CTDB_SAMBA_SKIP_SHARE_CHECK test now uses _loadconfig().
Test suite: make time log use seconds since epoch.
Test suite: add automated checking of time logs.
Test suite: add more debug to time jump post mortem.
Test suite: Add debug for cluster (un)healthy flip-flop after restart.
Test suite: Print debug info from cluster nodes when time jumps occur.
Test suite: when the cluster flip-flops (un)healthy, using "ctdb status -Y".
Set $CTDB_VARDIR in the functions file.
Eventscript functions: add $CTDB_ETCDIR and hook service() functions.
Make Emacs recognise that the eventscript functions file is a shell script.
Eventscripts: iptables() should put lock in $CTDB_VARDIR.
Eventscripts: remove ctdb_wait_command() and ctdb_wait_tcp_ports() functions.
Eventscripts: new functions set_proc() and get_proc().
Eventscripts: remove unnecessary absolute paths from external commands.
Eventscripts: use set_proc() in startstop_nfs().
Eventscripts: update 10.interface to use set_proc() and get_proc().
Eventscripts: update 60.nfs service() start to use set_proc().
Eventscripts - Rework the use of get_proc() for the bonding checks.
Eventscripts - remove some more absolute paths to commands.
Eventscript functions - use $CTDB_VARDIR instead of local $ctdb_spool_dir.
Merge remote-tracking branch 'origin/master' into eventscripts_relative
Tests: initial eventscript unit tests.
Git should ignore tests/eventscripts/var.x
Tests: Oops! Add bin directory for eventscript tests.
Tests: tweak some samba tests to cope with debug from ctdb_check_tcp_ports().
Tests: eventscripts and onnode tests use stubs/ subdirectory instead of bin/.
Tests: update tests to work with previous commit.
Eventscripts: source a file specified by $CTDB_RC_LOCAL in functions file.
Tests - stub ip program should assume interface name if "dev" not specified.
Tests - implement "ctdb -Y ip -v" in stub for eventscript testing.
Eventscripts - Remove local variable usage in 10.interfaces.
Scripts: remove absolute paths from interface_modify.sh.
Scripts: remove absolute paths from interface_modify.sh.
Tests - Tweak 10.interfaces 802.ad bonding test to work with current code.
Tests - Disable the Samba and NFS eventscript tests.
Test suite: Try much harder to get a healthy cluster when it is restarted.
Test suite: remove getmonmode test.
Test suite: Strip architecture suffix from CTDB RPM package version.
Test suite: Fix consistency in 09_ctdb_ping.sh.
Test suite: Fix consistency in 26_ctdb_config_check_error_on_unreachable.
Allow proxy_node to be specified for wait_until_node_has_status().
Test suite: print debug output after cluster (un)healthy flip-flop on restart.
Merge branch 'eventscript_tests' into ronnie_target
Merge branch 'test_suite' into ronnie_target
Eventscript functions: new functions to remember/check if service managed.
Eventscript functions: new function ctdb_setup_service_state_dir().
Add a README to the config/ subdirectory.
Scripts: add note about not using absolute command paths to README.
00.ctdb eventscript removes all files from $ctdb_active_dir.
Eventscripts: 00.ctdb uses $service_state_dir, neaten update_config_from_tdb().
Eventscripts: fix dangerous rm -rf in 00.ctdb init event.
Evenscripts: update 20.multipathd to use ctdb_setup_service_state_dir.
Evenscripts: update 13.per_ip_routing to use ctdb_setup_service_state_dir.
Evenscripts: update 61.cnfs to use ctdb_setup_service_state_dir.
Merge branch 'eventscript.13.per_ip_routing' into eventscript.62.cnfs
Merge branch 'eventscript.62.cnfs' into eventscript.20.multipathd
Merge branch 'eventscript.20.multipathd' into eventscript.00.ctdb
Eventscripts - fix 10.interface bash incompatibility.
50.samba eventscript should stop/start services when they become (un)managed.
50.samba eventscript should use is_ctdb_managed_service "samba".
50.samba eventscript should use is_ctdb_managed_service "winbind".
Eventscript functions - optimise is_ctdb_managed_service().
Eventscript functions: add optional event name argument to fail count functions.
Eventscript function: change service_start into a function.
Eventscript functions: move flagging of managed services.
Eventscripts: rejig the reconfigure infrastructure.
Evenscripts: update 41.httpd to use ctdb_service_check_reconfigure.
Evenscripts: update 40.vsftpd to use ctdb_service_check_reconfigure.
Evenscripts: update 60.nfs to use ctdb_setup_service_state_dir.
Evenscripts: update 60.nfs to use ctdb_service_check_reconfigure.
Eventscripts: make 50.samba use $service_state_dir.
Eventscript functions: ctdb_service_check-reconfigure() acts only on monitor.
Eventscript functions: fix counter regression.
Eventscripts: improve log messages in ctdb_start_stop_service().
Eventscripts: fix typo in _ctdb_counter_common().
Eventscripts: startstop_nfs stop no longer redirects output to /dev/null.
Eventscripts: remove unused remove_ip() function.
Eventscript functions: new function ctdb_check_counter().
Eventscripts: improvements to 41.httpd.
Eventscripts: 40.vsftpd service_stop() no longer /dev/null's output.
Eventscripts: 50.samba needs null service_reconfigure() function.
Eventscripts: 50.samba - only start/stop nmbd if $CTDB_SERVICE_NMB set.
Evenscripts: improvements to ctdb_service_check_reconfigure().
Eventscripts - 60.nfs should define service_reconfigure().
Eventscripts: in 60.nfs move statd-notify code to service_reconfigure().
Eventscripts: fix regression in 60.nfs export checking.
Revert "Tests: tweak some samba tests to cope with debug from ctdb_check_tcp_ports()."
Tests: Re-enable the Samba eventscript tests.
Eventscripts: clean up 60.nfs monitor event.
Eventscripts: change failure counts and behaviour for statd and nfsd.
Eventscripts: 10.interfaces cleanup - new functions mark_up(), mark_down().
Eventscripts: 10.interfaces clean-up - use more descriptive variable names.
Eventscripts: 10.interfaces clean-ups - push logic into monitor_interfaces().
Eventscripts: 10.interface clean-ups - variable name fix-ups.
Eventscripts: In 60.nfs don't restart NFS when restarting rpc.lockd.
Tests: re-enable the NFS eventscript tests - they work again.
Eventscripts: 10.interface clean-ups - minor tweaks and new comments.
Eventscripts: 10.interfaces - new function get_all_interfaces().
Eventscripts: 10.interfaces - startup comment says assume all interfaces good.
Eventscripts: 10.interfaces - make startup event actually mark interfaces up!
Tests - ctdb listvars test should allow alphanumericals in tunable names.
Tests - exportfs stub needs to print out export options.
Eventscripts: remove "return 0" from 50.samba service_stop().
Eventscripts - ensure the statd update-trigger file always exists.
Eventscripts - new function ctdb_set_current_debuglevel()
Eventscripts - conditionally inherit ctdbd debug level in each monitor event
Eventscripts: add a debug() function and call ctdb_set_current_debuglevel()
Eventscript functions: optimise ctdb_check_tcp_ports() and add debug.
Eventscripts - weaken TCP port check message if CTDB has just been started.
Eventscripts - ctdb_check_tcp_ports() only prints netstat output if debugging
Eventscripts - generalise TCP port checking plus new nmap-based checker
Eventscripts - new default TCP port checker using "ctdb checktcpport"
Eventscripts - in 60.nfs uniquify the share check directory list
Eventscripts: New configuration variable CTDB_SERVICE_AUTOSTARTSTOP.
Eventscripts - fix debugging buglet in ctdb_check_tcp_ports_ctdb()
Eventscripts - ctdb_check_tcp_ports() bug fix.
Eventscripts - new function ctdb_check_args()
Eventscripts - call ctdb_check_args() instead of doing hand checking
Eventscripts - call ctdb_check_args() in 00.ctdb
Eventscripts: add a synchronous synthetic reconfigure event.
Eventscripts - use ctdb scriptstatus -Y when replaying status
Tools - fix "ctdb scriptstatus -Y" output
Tests - add -T (trace) option to eventscripts run_test.sh
Tests - eventscripts exportfs stub should splits lines
Tests - new NFS share checking tests
Tests - Change variable used to fake listening TCP ports.
Tests - add eventscripts testing stub for sleep command.
Tests - add hooks to simulate ctdb commands that aren't implemented
Tests - add getdebug and checktcpport to ctdb eventscripts stub
Tests - eventscripts - stop timeouts waiting for backgrounded testparm
Tests - eventscripts - add an nmap stub
Tests - eventscripts - add output for "not implemented" in ctdb stub
Tests - eventscripts - ctdb default default level is 0.
Tests - eventscripts - add some output filtering
Tests - eventscripts - new function setup_nmap_output_filter()
Tests - eventscripts - add a new ctdb_not_implemented() function
Tests - eventscripts - new Samba tests to test TCP port checking
Tests - eventscripts - nmap and netstat stubs can pretend they weren't found
Tests - eventscripts - new Samba TCP port checking test - no nmap
Tests - eventscripts - TCP port checking, no working checkers
Tests - eventscripts - Samba TCP port checking fixes
Tests - evenscripts - add symlink to ctdb.sysconfig
Tests - eventscripts - remove undefined argument in some simple_test calls
Tests - eventscripts - add die() function and use it
Tests - eventscripts - add extra filename format for multi-event tests
Tests - eventscripts - output format tweaks
Tests - eventscripts - new function simple_test_event()
Tests - eventscripts - formatting tweak in simple_test()
Tests - eventscripts - ctdb stub - implement scriptstatus, tweaks
Eventscripts - enhance ctdb_replay_monitor_status()
Merge branch 'eventscripts' into tests
Tests - eventscripts - allow "ctdb scriptstatus" output to be primed
Tests - eventscripts - add some multievent tests
Mathieu Parent (3):
Correction of spelling errors
Fix bashism
Manpage for ping_pong
Michael Adam (88):
server: when we migrate off a record with data, set the MIGRATED_WITH_DATA flag
persistent_callback: ignore the update-recordreturn code of remote node in recovery
persistent_store_timout: do not really time out the trans3_commit control in recovery
persistent: if a node failed to update_record, trigger a recovery
persistent: reduce indentation for the finishing moves in ctdb_persistent_callback
persistent_callback: print "no error message given" instead of "(null)"
persistent: add a ctdb_persistent_state member to the ctdb_db context.
persistent: add a ctdb_db context to the ctdb_persistent_state struct.
persistent: allocate the persistent state in the ctdb_db struct in trans3_commit
persistent: reject trans3_control when a commit is already active.
persistent: add a client context to the persistent_stat and track the db_id
daemon: correctly end a running trans3_commit if the client disconnects.
persistent: add ctdb_persistent_finish_trans3_commits().
recover: finish pending trans3 commits when a recovery is finished.
server: add a comment explaining the call redirect logic in ctdb_call_send_redirect().
gitignore: add vi swap files
gitignore: add tags file
tests: fix segfault in randrec test when connection to daemon fails.
tests: fix segfault in fetch test when connection to ctdb failed.
tests: fix segfault in fetch_one test when connection to ctdbd fails
tests: fix segfault in store test when connection to ctdbd failed.
Fix typos in a comment in vacuum_traverse.
vacuum: in ctdb_vacuum_db, fix the length of the array of vacuum fetch lists
vacuum: correctly send TRY_DELETE_RECORDS ctrl to all active nodes
vacuum: reduce indentation of the loop sending VACUUM_FETCH controls
vacuum: check lmaster against num_nodes instead of vnn_map->size
server: when we migrate off a record with data, set the MIGRATED_WITH_DATA flag
recoverd: in a recovery, set the MIGRATED_WITH_DATA flag on all records
call: add new call flag CTDB_CALL_FLAG_VACUUM_MIGRATION
call: Move definition of call flags down to the definition of the flags field.
add a new record flag CTDB_REC_FLAG_VACUUM_MIGRATED.
server: in the VACUUM_FETCH handler, add the VACUUM_MIGRAION to the call flags
call: transfer the record flags in the ctdb call packets.
call: hand the submitted record_flags to local record storage function.
call: becoming dmaster in VACUUM_MIGRATION, set the VACUUM_MIGRATED record flag
Add a delete_queue to the ctdb database context struct.
When attaching to a non-persistent DB, initialize the delete_queue.
vaccum: clear the fast-path vacuuming delete_queue after creating the vacuuming child.
When wiping a database, clear the delete_queue.
server: rename ctdb_repack_db() to ctdb_vacuum_and_repack_db()
vacuum: refactor new add_record_to_vacuum_fetch_list() out of vacuum_traverse().
vacuum: skip adding records to list of records to send to lmaster on lmaster
vacuum: refactor new add_record_to_delete_tree() out of vacuum_traverse().
vacuum: reduce indentation in add_record_to_delete_tree()
vacuum: add delete_queue_traverse() for traversal of the delete_queue.
vacuum: traverse the delete_queue befor traversing the database.
Add a tunable VacuumFastPathCount.
vacuum: add a fast_path_count to the vacuum_handle.
vacuum: bump the number of fast-path runs in the vacuum child destructor
vacuum: reset the fast path count in the event handle if it exceeds the limit.
vacuum: Only run full vacuumig (db traverse) every VacuumFastPathCount times.
vacuum: disable full db-traverse vacuuming runs when VacuumFastPathCount == 0
vacuum: change all Vacuum*Interval tunables to default to 10
vacuum: refactor insert_delete_record_data_into_tree() out of add_record_to_delete_tree()
vacuum: add statistics output to the fast and full traverse runs.
vacuum: lower level of hash collision debug message to INFO
control: add macro CHECK_CONTROL_MIN_DATA_SIZE.
control: add a new control opcode CTDB_CONTROL_SCHEDULE_FOR_DELETION
server: implement a new control SCHEDULE_FOR_DELETION to fill the delete_queue.
vacuum: add ctdb_local_schedule_for_deletion()
client: add accessor function ctdb_header_from_record_handle().
test: send SCHEDULE_FOR_DELETION control from randrec test.
daemon: fill ctdb->ctdbd_pid early
server: create a server variant ctdb_ltdb_store_server() of ctdb_ltdb_store().
server: Use the ctdb_ltdb_store_server() in the ctdb daemon for non-persistent dbs
ctdb_ltdb_store_server: delete an empty record that is safe to delete instead of storing locally.
ctdb_ltdb_store_server: implement fastpath vacuuming deletion based on VACUUM_MIGRATED flag.
ctdb_ltdb_store_server: always store the data when ctdb_ltdb_store() is called from the client
ctdb_ltdb_store_server: Improve debug message in ctdb_ltdb_store when store or delete fails.
ctdb_ltdb_store_server: add ability to send SCHEDULE_FOR_DELETION control to ctdb_ltdb_store.
ctdb_private.h: add record flag CTDB_REC_FLAG_AUTOMATIC
ltdb: add the CTDB_REC_FLAG_AUTOMATIC to the initial header in ctdb_ltdb_fetch()
ctdb_ltdb_store_server: honour the AUTOMATIC record flag
vacuum: raise a debug level from INFO to DEBUG
vacuum: refactor insert_record_into_delete_queue out of ctdb_control_schedule_for_deletion
vacuum: use insert_record_into_delete_queue in ctdb_local_schedule_for_deletion.
vacuum: fix a comment typo
ctdb.init: check for availability of "tdbtool check" and "tdbdump"
ctdb.init: print a warning when tdbdump is found but tdbtoo or "tdbtool check" is not available
packaging: remove the dependency to tdbtool and tdbdump from the spec file
build "ltdbtool" in "make all"
install ltdbtool with "make install"
install the ltdbtool manpage with "make install"
packaging: add ltdbtool and its manpage to the RPM
doc: regenerate ctdb docs
web: add Stefan Metzmacher to the list of CTDB developers.
web: correctly terminate list items <li> with </li> instead of with <br>
packaging: honour rpm build target options handed in to makerpms.sh
Ronnie Sahlberg (144):
Add support to create TDB databases using the new jenkins hash.
Drop the loglevel of the "reqid wrap" developer debug message to DEBUG
Redirect the output from 00.ctdb pfetch to stdout.
When shuttind down, we always unconditionally try to remove the natgw address
during shutdown there is a window after we have stopped TCP and disconnected from all other nodes but before we have stopped all processing.
Both nfs and nfslock scripts can fail under redhat in very rare situations.
when creating/adding a public ip, set the initial interface to be the first interface specified
dont delete all ips from the system during the initial "init" event
change the default for how long to waqit before dropping all ips to 120 seconds
Add a new tunable : DisableIPFailover that when set to non 0
dont check the public ip assignment or if even we are hosting them and shouldnt
when we load the public address file, at the same time check if we are already hosting the public address, if so, set ourselves up as the pnn for that address
delay loading the public ip address file until after we have started the transport and discovered ouw own pnn number
delete from old interface before adding to new interface
this stuff is just so fragile that it will enter infinite recovery and fail loops
Dont check remote ip allocation if public ip mgmt is disabled
change the takeover script timeout to 9 seconds from 5
Dont exit the update ip function if the old and new interfaces are the same
initialize the statistics to the current time, not start of epoch
add a new support function ctdb_check_counter_equal()
Dont pollute the logs with a "file not found" message
add an explicit _is_managed_service to iscsi eventscript
update autostart/stop to work for samba
When we are no longer the natgw master, dont put the natgw ip on loopback.
dont try starting samba through the "init" event
during ip allocation, there are failure modes where a node might hold a ip address
add a missing part of the import of the previous ganesha patch
Add 60.ganesha to what gets installed by make install as well as by the RPM
add a new ctdb_ltdb function to delete a record in a normal database
add new command line functions
Add a new header flag for "migrated with data" and set this to 1
only run "serverid wipe" if we are actually running samba.
LibCTDB
libctdb
Revert "Add a new header flag for "migrated with data" and set this to 1"
Revert "server: when we migrate off a record with data, set the MIGRATED_WITH_DATA flag"
When assigning the single-public-ip during startup,
LVS
ctdb addip:
50.samba
Dont run net serverid wipe in the background
60.nfs
41.HTTPD
60.nfs Check if we have rpc.statd and if not, skip checking for statd
Revert scheduling back to use real-time processes
Add ctdb_fork(0 which will fork a child process and drop the real-time
recoverd: avoid triggering a full recovery if just some ip allocation
LIBCTDB uninitialized inqueue element
STATD is 100027 not 1000247
TYPO
IPALLOCATION : If the node is held pinned down in "init" state
ADDIP failure
We can not always rely on the recovery daemon pinging us in a timely manner
db_exists() takes 3 arguments, not two.
LIBCTDB: add support for traverse
change Christinas previous patch to only perform the check/logging
ctdb: hold transaction locks during freeze, mark during recover.
Add a new test tool that fetch locks a record and then blocks until it receives
Compile fix
LockWait congestion.
If the node is stopped, put a log entry in /var/log/* to indicate this is why we never become ready
We default to non-deterministic ip now where ips are "sticky" and dont change
change the hash function to use the much better Jenkins hash
Remove LACOUNT and LACCESSOR and migrate the records immediately.
60.nfs
remove checking for filesystems and filesystem health from the cnfs script.
Add two new flags for the ltdb header.
50.samba : Tell winbind about every time we add/remove and ip from the node
ctdb_req_dmaster from non-master
Dont return error if trying to set db priority on a db that does not yet exist.
Deferred attach : at early startup, defer any db attach calls until we are out of recovery.
ATTACH_DB: simplify the code slightly and change the semantics to only
If/when the recovery daemon terminates unexpectedly, try to restart it again from the main daemon instead of just shutting down the main deamon too.
Restart recovery dameon if it looks like it hung.
Dont allow clients to connect to databases untile we are well past and through
Vacuuming: initialize a variable to avoid a harmless valgrind hit
IP reallocation. If a public address is already hosted on the node when we startup, log a warning message but do not cause the recovery to fail.
Deferred attach: create the timed event as a child context of the da context we want to delete.
This needs more testing first
NATGW: dont set arp_ignore in 11.natgw anymore since we no longer
IFACE handling. Assume links are always good on nstartup (they almost always
If the eventscript is finished but state->ctdb is NULL,
bonding mode 4 monitoring:
Cleanup of logging messages/spamming
Dont call the UPDATE event if both old and new interface is the same.
Remove logging of spam/errors from the 10.interfrace
Dont exit from checking interfaces once we have found one interface that is not
If samba fails to start for some reason, make this cause the startup event to fail too, so that ctdbd will re-try the startup event later.
Remove all checking of GPFS from ctdb_diagnostics
When using multiple VLANs, some funky stuff can sometimes happen when
Merge branch 'master' of ssh://git.samba.org/data/git/ctdb
change the name for the key for the record where we stoire the public address config from public-addresses... to public_addresses...
Add log output to wipedb and backupdb
When trying to re-balance the ip assignment and shuffle ips from
Add a text about "ban" "unban" not being permanent and htat recovery daemon can auto unban nodes. Suggest using "stop" / "continue" instead.
Merge branch 'master' of ssh://git.samba.org/data/git/ctdb
Update the delip command
Merge branch 'master' of 10.1.1.27:/shared/ctdb/ctdb-master
Merge branch 'master' of 10.1.1.27:/shared/ctdb/ctdb-master
make test: add two missing events to the special test eventscript
Merge remote branch 'martins/lcp2_sim'
Merge remote branch 'martins/onnode_tests'
Merge remote branch 'martins/test_suite'
Change the message when we start the daemon to "CTDB starting on node"
remove a log message we dont need about "allow clients to attach to databases"
remove a non-error logmessage about persistent databases being healthy, as expected
remove log message we dont need
Remove a log message about setting linkstate for an unknown interface.
Merge remote branch 'martins/test_suite'
Merge remote branch 'martins/eventscripts_relative'
Merge remote branch 'martins/eventscript_tests'
Merge remote branch 'martins/eventscript.13.per_ip_routing'
Merge remote branch 'martins/eventscript.62.cnfs'
Merge remote branch 'martins/eventscript.20.multipathd'
Merge remote branch 'martins/eventscript.00.ctdb'
check the shares if they are available before we decide to try to restart nfs
increase the persistent timeout to make people happier
make the persistent even longer for lvs to make people even happier
Add new eventscript 40.fs_use that can be used to monitor file system use and flag a node unhealthy when they become full
Add documentation for the new filesystem use monitoring
When starting and stopping ctdb through the init-script, make sure we first clear all public ips bvefore we start the daemon, in case they are still hanging around since a previous kill -9 and also make sure we drop them after we have stopped the deamon when shutting down
Merge remote branch 'martins/eventscript_infrastructure'
Merge remote branch 'martins/eventscript.10.interface'
Change the default for ip failover to be LCP2 and not DeterministicIPs
Merge remote branch 'martins/eventscript_tests'
Merge remote branch 'martins/test_suite'
Merge remote branch 'martins/eventscript.60.nfs.rpc'
Merge remote branch 'martins/60_nfs_regression'
Merge remote branch 'martins/eventscript.10.interface'
Merge remote branch 'martins/eventscript_tests'
Change the errors for 10.interface to clearly state ERROR: for error messages
dont use a too big persistence timeout value
Add a new command 'ctdb checktcpport <port>'
Merge remote branch 'martins/eventscripts'
LibCTDB: add commands where an application can query how many commands are active
LibCTDB : add support for getrecmode
LibCTDB : change the ctdb_fetch_lock_once test tool to use libctdb instead of the old client
LibCTDB : initialize ctdb->pnn to -1 when we create a new context
LibCTDB : uptade the ctdb tool to use libctdb to query for the recmaster
LibCTDB : update the ctdb tool to use libctdb to read the recovery mode
Logging: when we log stdout/stderr messages from eventscripts to the system log, prefix every line of output with the name of the eventscript.
Merge remote branch 'martins/eventscripts'
Merge remote branch 'martins/tests'
New version 1.11
Rusty Russell (6):
idtree: fix overflow for v. large ids on allocation and removal
tdb: expose transaction lock infrastructure for ctdb
ctdb_lockwait: create overflow queue.
ctdbd: fix lock held on error ("ctdb_req_dmaster from non-master.")
ctdbd: call tdb_reopen_all() in freeze child.
eventscript: fix callback after free
Volker Lendecke (13):
Add missing #include to libctdb/ctdb.c
libctdb: Correct 4bfdfda, stddef.h is needed by libctdb_private.h
libctdb: Reorder set_message_handler
libctdb: Reorder attachdb
libctdb: Add license header to messages.c
libctdb: Fix a few format warnings
libctdb: Ensure 0-termination of sun_path
libctdb: Make sure ctdb_request->ctdb is filled correctly
libctdb: "ctdb_request_free" does not need the ctdb_connection parameter
libctdb: "unpack_reply_call" does not need the ctdb_connection parameter
libctdb: "unpack_reply_control" does not need the ctdb_connection parameter
Remove an unused variable
Fix a const warning
-----------------------------------------------------------------------
--
CTDB repository
More information about the samba-cvs
mailing list