[SCM] CTDB repository - annotated tag ctdb-1.12 created - ctdb-1.12
Ronnie Sahlberg
sahlberg at samba.org
Mon Nov 7 22:48:33 MST 2011
The annotated tag, ctdb-1.12 has been created
at c124e5fe32d30bf3842dcfa279ad4950ebfe63c4 (tag)
tagging bda24b7f313289404b68ce8b9177fbd6b6a05dd7 (commit)
replaces ctdb-1.11
tagged by Ronnie Sahlberg
on Tue Nov 8 16:45:04 2011 +1100
- Log -----------------------------------------------------------------
Tag for 1.12
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iQEcBAABAgAGBQJOuMHoAAoJEB6eS+vwPaeGEw8H/A3hsQhupn3ttGMB0bAQvk+H
O619Qk98Llom+8DofuI4S5EpmeeWJOXFKjN3BgVrSl9WxtOEHvvSuWdYYJrNN9Qk
SFqFjZnABv7/1Rbbm1rsYkc/hHGJYFFicSFHwsEZKA6ZaouWgabx4vYQD5x/OrIQ
Yy4Sh/b12UTaQOSFR6blPOUE1V/bCyIBeZqRXiMBTBz/a/1QwgIxjGylRvSNL78z
EyCQT5C+0BhYOnZX2nV/RTCeR48N+aIxtUSYik5NebKiDrd2EwNwpgFiY/D2TOse
iS4cVoVBSxJO2C9TiANQIf+iyoW88q/cNGyJeu5lYLaMvKh1F1y5J2HcBA2IRJM=
=xtPw
-----END PGP SIGNATURE-----
David Disseldorp (10):
client: add req timeout argument to ctdb_cmdline_client
client: add timeout argument to ctdb_attach
client: flag local node in ctdb -Y status output
pmda: Initial ctdb pmda check-in
pmda: Attempt reconnects while ctdbd is unavailable
pmda: Pull ctdb statistics once per fetch
pmda: Use CTDB_PATH macro for default socket path
pmda: document in README how to add a new metric
pmda: handle struct latency_counter and add num_recoveries
pmda: Use upstream assigned PCP domain id
Gregor Beck (1):
ltdbtool: ignore empty (deleted) records per default.
Martin Schwenke (12):
Tests - IP allocation - allow more interesting node states to be specified
Tests - IP allocation - initial unit tests
Tests - simple integration - do a "ctdb sync" after restarting the cluster
Make ctdb_diagnostics more resilient to uncontactable nodes.
Web - add me as a developer. :-)
onnode: unset EXTRA_SSH_OPTS when using fakessh
LCP IP allocation algorithm - new function lcp2_failback_candidate()
Tests - IP allocation tests - must export CTDB_LCP2.
Tests - Allow some tests in ctdb_takover_tests to specify allowed nodes
Tests - IP allocation - new test that shows current LCP2 failure
LCP IP allocation algorithm - try harder to find a candidate source node
Tests - IP allocation - add some extra output due to recent fix
Mathieu Parent (5):
Fix broken readdir
Less verbosity when there is no public addresses file
apache's service name is not always httpd
Typo deamon -> daemon
Fix bashism in 40.fs_use
Michael Adam (4):
tools/ctdb: fix a typo in a debug message
Add a tunable "AllowClientDBAttach" with default value 1.
Fix a typo in a message in ctdb backupdb.
doc: update compiled manpages of ctdb.1 after change to xml
Ronnie Sahlberg (75):
ReadOnly records: Add a new RPC function FETCH_WITH_HEADER.
ReadOnly: Add helper functions to manipulate a TDB_DATA as a bitmap for nodes that we are tracking as having a readonly delegation
ReadOnly: Add test tool to validate the functions to manipulate and enumerate the bitmap of nodes to where we have readonly delegations
ReadOnly: Add clientside functions to send the UPDATE_RECORD control
ReadOnly: add a new test tool that does a fetchlock on a record, then bunps the RSN by 10 and writes the new content to the record as sprintf("%d", rsn)
ReadOnly: Add 4 new record flags to handle read only delegation and revoking of delegations
ReadOnly: Add printing of the record flags when we are traversing a database to print its content.
ReadOnly: Add a new command 'ctdb cattdb'. This fucntion differs from 'ctdb catdb' in that 'cattdb' will always traverse the local tdb file only, while 'catdb' does a cluster traverse.
Add the missing "persistent" argument to db_exist()
ReadOnly: After performing a recovery, clear out all flags related to readonly delegations and revoke
ReadOnly: Add "readonly" flag to the ctdb_db_context to indicate if this database supports readonly operations or not. Add a private lock-less tdb file to the ctdb_db_context to use for tracking delegarions for records
ReadOnly: After recovering all databases, make sure to clear out the tracking database used to track delegations and revoke. This is because the recovery will implicitely result in a revoke of all delegations.
ReadOnly: Add an extra flag to ctdb_call_local to specify whether we want to write the record and header back to the tdb (for example we do when performing dmaster migrations)
ReadOnly: Add functions to register CALLs to a context used to handle deferal of processing of CALL commands.
ReadOnly: Add a function to start a revoke of all delegations for a record.
ReadOnly: Add a new flag to call request packet to indicate that the client wants a readonly delegation
ReadOnly: When releasing all deferred calls that blocked during revoke of all previous delegations, add a 1 second grace/delay for any new readonly delegation requests so that the read-write fetch-lock porcess has a chance to make progress
ReadOnly: Once recovery has finished, make sure to free all revoke child processes and trigger the destructors for all deferred calls to re-queue the original packets to the input packet processing function
ReadOnly: Add processing for ReadOnly delegation requests and revoke requests to the processing loop for CALL packets we receive from different nodes.
ReadOnly: Add handlign of readonly requests readwrite requests, delegations and revoking of delegation to the processing loop for CALL requests coming in from a local client via domain socket
ReadOnly: Add a ctdb_ltdb_fetch_readonly() helper function
ReadOnly: Add clientside code to fetch readonly records
ReadOnly: Add a test tool to fetch a record, requesting a readonly delegation and lock the record once
ReadOnly: Add a test tool that requests a readonly delegation in a loop
ReadOnly: Change the update_record test tool to use the new fetchlock routine that can do either normal or readonly fetchlock
ReadOnly: When the client wants a readwrite lock but the local node is the dmaster and also have delegations active we must send a CALL to the local daemon to trigger it to revoke the delegations
ReadOnly: clear out the tracking record once a revoke is completed
ReadOnly: add description of readonly records
ReadOnly: Check the readonly flag instead of whether the tdb pointer is NULL or not
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
ReadOnly: Change the ctdb_db structure to keep a uint8_t for flags instead of a boolean for
ReadOnly: add a readonly flag to the getdbmap control and show the readonly setting in ctdb getdbmap output
ReadOnly: add a new control to activate readonly lock capability for a database.
ReadOnly: update the documentation about readonly locks
tests: Link ctdb_fetch_lock_once with @TDB_OBJ@ not -ltdb so we dont create an unneeded dependency on having a standalone tdb library installed
tests:ctdb_fetch_lock_once we must link with @POPT_OBJ@ in case -lpopt is not available
Merge branch 'master' of ssh://git.samba.org/data/git/ctdb
Check interfaces: when reading the public addresses file to create the vnn list
Interface monitoring: add a event to trigger every 30 seconds to check that all interfaces referenced by the public address list actually exists.
Merge branch 'master' of 10.1.1.27:/shared/ctdb/ctdb-master
Merge remote branch 'ddiss/master_pmda_and_client_timeouts'
Drop loglevel for a tevent message from FATAL to ERROR
Merge branch 'master-readonly-records' into foo
Fix additional breakage from the merge for change in signature for ctdb_cmdline_client() and ctdb_attach()
ReadOnly: Rename the function ctdb_ltdb_fetch_readonly() to ctdb_ltdb_fetch_with_header() since this is what it actually does.
fix some compiler warnings for the test tools
Document 'cattdb' more clearly that it dumps the content of the local TDB and not the CTDB database
ReadOnly: revokechild_active is a list, not a context.
when checking that the interfaces exist in ctdb_add_public_address()
Change the 'This Node' column of the machinereadable output for 'ctdb status -Y' to Y/N instead of 1/0
One of the entry points to release an ip reset the pnn field before invoking the eventscript.
Merge branches 'master' and 'master' of 10.1.1.27:/shared/ctdb/ctdb-master
Merge branch 'master' of ssh://git.samba.org/data/git/ctdb
Merge remote branch 'martins/tests'
Remove debug message
ReadOnly: Dont update the record header from the calling client. While it is convenient since it avoids having to create a child process from the main dameon for writing the updated record it makes the cleitn more complex.
ReadOnly DOCS: update the docs for readonly delegations to remove the passage that records are written/updated by the client
Merge branch 'master' of 10.1.1.27:/shared/ctdb/ctdb-master
ReadOnly: fix bug writing incorrect amount of data in delegated record
ReadOnly: add readonly record lock requests to libctdb
Merge branch 'master' of 10.1.1.27:/shared/ctdb/ctdb-master
ReadOnly: If record does not exist, upgrade to write-lock
Merge branch 'master' of 10.1.1.27:/shared/ctdb/ctdb-master
libctdb: dont allow ctdb_writerecord() for readonly records
Merge branch 'master' of 10.1.1.27:/shared/ctdb/ctdb-master
Tests: convert test tool for fetching a readonly lock to libctdb
Merge branch 'master' of 10.1.1.27:/shared/ctdb/ctdb-master
Merge remote branch 'ddiss/master_pmda_namespace'
RB_TREE: Add mechanism to abort a traverse
Merge branch 'master' of 10.1.1.27:/shared/ctdb/ctdb-master
Merge remote branch 'martins/lcp2fix'
Record Fetch Collapse: Collapse multiple fetch request into one single request.
New version 1.12
Volker Lendecke (1):
Fix some typos
-----------------------------------------------------------------------
--
CTDB repository
More information about the samba-cvs
mailing list