------------------------------------------------------------
revno: 73
revision-id: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Peter Somogyi <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Mon 2007-04-16 16:28:29 +0200
message:
merged tridge's branch
added:
common/ctdb_client.c ctdb_client.c-20070411010216-3kd8v37k61steeya-1
common/ctdb_daemon.c ctdb_daemon.c-20070409200331-3el1kqgdb9m4ib0g-1
common/ctdb_io.c ctdb_io.c-20070409200335-dzfc7f3rra5rcf60-1
config.mk config.mk-20070416041303-xql6zaaq90w8kovl-1
direct/ direct-20070411085038-phusiewluwzyqjpc-1
direct/README readme-20070411085353-evbh8j3q762w3azh-1
direct/ctdbd.c ctdbd.c-20070411085044-dqmhr6mfeexnyt4m-1
direct/ctdbd.sh ctdbd.sh-20070411085038-phusiewluwzyqjpc-2
direct/ctdbd_test.c ctdbd_test.c-20070411085057-17kgjzfktsh28g99-1
direct/nodes.txt nodes.txt-20070411085104-tprj7cr1u6o5i7xm-1
tests/bench1.sh bench1.sh-20070405031753-caneu8tv5v8e93ws-1
tests/cmdline.c cmdline.c-20070416041216-w1zvz91bkdsgjckw-1
tests/cmdline.h cmdline.h-20070416041216-w1zvz91bkdsgjckw-2
tests/ctdb_fetch.c ctdb_fetch.c-20070405031748-f7gslozfj3rwh5ie-1
tests/ctdb_fetch1.c ctdb_fetch1.c-20070412111848-xawz6wqk9r0v8jdk-1
tests/ctdb_messaging.c
ctdb_messaging.c-20070411034205-6d6vne56pbih2x1p-1
tests/fetch.sh fetch.sh-20070405031756-lomzqpjyqg3xd1kv-1
tests/fetch1.sh fetch1.sh-20070412111854-6s84l3myac9ncl79-1
tests/lockwait.c lockwait.c-20070416055753-3ztnb4cxqgamfudx-1
tests/messaging.sh messaging.sh-20070411034158-e1c175kqm9vzasb6-1
renamed:
ctdb_bench.c => tests/ctdb_bench.c
ctdb_bench.c-20061219052637-2liagoglohxb6p7s-1
ctdb_test.c => tests/ctdb_test.c
ctdb_test.c-20061117234101-o3qt14umlg9en8z0-16
nodes.txt => tests/nodes.txt nodes.txt-20061118043428-8lz9unytgcsndgia-1
modified:
Makefile.in makefile.in-20061117234101-o3qt14umlg9en8z0-1
common/ctdb.c ctdb.c-20061127094323-t50f58d65iaao5of-2
common/ctdb_call.c ctdb_call.c-20061128065342-to93h6eejj5kon81-1
common/ctdb_ltdb.c ctdb_ltdb.c-20061128065342-to93h6eejj5kon81-2
common/ctdb_message.c
ctdb_message.c-20070208224107-9dnio7x7z33prrmt-1
common/ctdb_util.c ctdb_util.c-20061128065342-to93h6eejj5kon81-3
common/util.c util.c-20061117234101-o3qt14umlg9en8z0-20
configure.ac configure.ac-20061117234101-o3qt14umlg9en8z0-10
ib/ibw_ctdb.c ibw_ctdb.c-20070102171255-7krov7858dqza466-1
ib/ibw_ctdb.h ibw_ctdb.h-20070102171259-nmuvtzt98aqzg7xp-1
ib/ibw_ctdb_init.c
ibw_ctdb_init.c-20070102171305-cn2z4k7ibx8141d5-1
ib/ibwrapper_test.c
ibwrapper_test.c-20061214171730-h11a2z5ed6pt66hj-1
include/ctdb.h ctdb.h-20061117234101-o3qt14umlg9en8z0-11
include/ctdb_private.h
ctdb_private.h-20061117234101-o3qt14umlg9en8z0-13
include/includes.h includes.h-20061117234101-o3qt14umlg9en8z0-17
lib/tdb/autogen.sh autogen.sh-20070125040949-7t3f5zdl1q4z9hyv-61
lib/tdb/common/dump.c dump.c-20070220022425-m1wibgjq7n5hahs6-2
lib/tdb/common/freelistcheck.c
freelistcheck.c-20070220022425-m1wibgjq7n5hahs6-5
lib/tdb/common/io.c io.c-20070220022425-m1wibgjq7n5hahs6-6
lib/tdb/common/lock.c lock.c-20070220022425-m1wibgjq7n5hahs6-7
lib/tdb/common/open.c open.c-20070220022425-m1wibgjq7n5hahs6-8
lib/tdb/common/tdb.c tdb.c-20070220022425-m1wibgjq7n5hahs6-9
lib/tdb/common/tdb_private.h
tdb_private.h-20070220022425-m1wibgjq7n5hahs6-10
lib/tdb/common/transaction.c
transaction.c-20070220022425-m1wibgjq7n5hahs6-11
lib/tdb/config.mk config.mk-20070125040949-7t3f5zdl1q4z9hyv-63
lib/tdb/include/config.h.in config.h.in-20070125040949-7t3f5zdl1q4z9hyv-100
lib/tdb/include/tdb.h tdb.h-20070125040949-7t3f5zdl1q4z9hyv-101
lib/tdb/tdb.pc tdb.pc-20070125040949-7t3f5zdl1q4z9hyv-71
lib/tdb/tools/tdbtest.c tdbtest.c-20070125040949-7t3f5zdl1q4z9hyv-107
lib/tdb/tools/tdbtool.c tdbtool.c-20070125040949-7t3f5zdl1q4z9hyv-108
tcp/ctdb_tcp.h ctdb_tcp.h-20061127103747-l8xeniwiapbydehq-3
tcp/tcp_connect.c tcp_connect.c-20061128004937-x70q1cu5xzg5g2tm-1
tcp/tcp_init.c tcp_init.c-20061128004937-x70q1cu5xzg5g2tm-2
tcp/tcp_io.c tcp_io.c-20061128004937-x70q1cu5xzg5g2tm-3
tests/bench.sh bench.sh-20070209014602-vdolpr6esqsa58s7-1
tests/test.sh test.sh-20061128065333-cla80zaxd9eb4o4a-2
tests/test1.sh test1.sh-20061130223403-jednzcvm60m0j75c-1
tests/ctdb_bench.c ctdb_bench.c-20061219052637-2liagoglohxb6p7s-1
tests/ctdb_test.c ctdb_test.c-20061117234101-o3qt14umlg9en8z0-16
------------------------------------------------------------
revno: 44.1.70
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Mon 2007-04-16 23:03:36 +1000
message:
added a tdb_chainlock_nonblock() call to tdb
------------------------------------------------------------
revno: 44.1.69
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Mon 2007-04-16 22:52:58 +1000
message:
merge local copy of tdb from samba4 tdb
------------------------------------------------------------
revno: 44.1.68
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Mon 2007-04-16 22:49:37 +1000
message:
fixed a fd bug (thanks volker)
------------------------------------------------------------
revno: 44.1.67
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Mon 2007-04-16 16:01:37 +1000
message:
this is a demonstration of an idea for handling locks in ctdb.
The problem we have is this:
- we want the client smbd processes to be able to 'shortcut' access
to the ltdb, by directly accessing the ltdb, and if the header of
the record shows we are the dmaster then process immediately, with
no overhead of talking across the unix domain socket
- a client doing a shortcut will use tdb_chainlock() to lock the
record while processing
- we want the main ctdb daemon to be able to set locks on the
record, and when those locks collide with a 'shortcut' fcntl lock,
we want the ctdb daemon to keep processing other operations
- we don't want to have to send a message from a smbd client to the
ctdbd each time it releases a lock
The solution is shown in this example. Note that the expensive fork()
and blocking lock is only paid in case of contention, so in the median
case I think this is zero cost.
------------------------------------------------------------
revno: 44.1.66
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Mon 2007-04-16 14:13:10 +1000
message:
merged from samba4
------------------------------------------------------------
revno: 44.1.65
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Mon 2007-04-16 14:12:50 +1000
message:
pull out common command line code for tests into tests/cmdline.c
------------------------------------------------------------
revno: 44.1.64
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Mon 2007-04-16 10:31:39 +1000
message:
merge CTDB_SRVID_ALL patch from Samba4
------------------------------------------------------------
revno: 44.1.63
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Mon 2007-04-16 10:21:44 +1000
message:
- fix includes to work in both samba4 and ctdb standalone
- when we do a store_unlock the lock record becomes unlocked, so we
must destroy it (or we leak memory)
------------------------------------------------------------
revno: 44.1.62
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Mon 2007-04-16 09:29:10 +1000
message:
added --dblist option to ctdbd, to allow list of databases to be
specified on the command line
------------------------------------------------------------
revno: 44.1.61
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Mon 2007-04-16 08:58:57 +1000
message:
merge from ronnie
------------------------------------------------------------
revno: 44.1.22.1.3.1.21.2.20
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Mon 2007-04-16 08:37:27 +1000
message:
add code to fetch1 test to tell the two child processes one at a time
to fetch_lock the same record
they both successfully fetch and lock the same record at this stage
but when the actual locking works properly the second child will block.
this test allows us to verify the blocking once we have implemented it
------------------------------------------------------------
revno: 44.1.22.1.3.1.21.2.19
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Sun 2007-04-15 14:39:23 +1000
message:
add examples for volker on how to do fetchlock/storeunlock
note that the actual locking/unl;ocking does not still work
------------------------------------------------------------
revno: 44.1.22.1.3.1.21.2.18
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Sun 2007-04-15 14:02:39 +1000
message:
update to fetch1.sh test
there is still a bug in the ctdb code in that the children no longer
receive messages from the parent for unknown reasons
------------------------------------------------------------
revno: 44.1.22.1.3.1.21.2.17
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Sun 2007-04-15 07:41:35 +1000
message:
merge from tridge
------------------------------------------------------------
revno: 44.1.22.1.3.1.21.2.16
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Fri 2007-04-13 21:10:20 +1000
message:
merge from tridge
------------------------------------------------------------
revno: 44.1.60
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Sat 2007-04-14 20:44:43 +1000
message:
merge from ronnie
------------------------------------------------------------
revno: 44.1.22.1.3.1.21.2.15
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Fri 2007-04-13 20:37:41 +1000
message:
add missing code to store_unlock so that the data that a client
writes is stored in ltdb
this makes it possible to do fetch_lock and store_unlock across a
domain socket to read/write data.
note that the actual locking is NOT implemented yet
------------------------------------------------------------
revno: 44.1.59
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Fri 2007-04-13 20:38:24 +1000
message:
private -> private_data for samba3
------------------------------------------------------------
revno: 44.1.58
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Fri 2007-04-13 15:49:33 +1000
message:
merge store_unlock code from ronnie
------------------------------------------------------------
revno: 44.1.22.1.3.1.21.2.14
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Fri 2007-04-13 09:44:56 +1000
message:
add more elaborate test to fetch1 test
for now:
fetch a record
store a known entry for this record
fetch the record again (and later verify we got the same record)
store it back again
this will not work right now since we dont yet store the record
inside the daemon
------------------------------------------------------------
revno: 44.1.22.1.3.1.21.2.13
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Fri 2007-04-13 09:41:15 +1000
message:
add store_unlock pdu's for the domain socket.
note that the store_unlock does not actually do anything yet apart
from passing the pdu from client to daemon and daemon responds.
next is to make sure the daemon actually stores the data in a database
------------------------------------------------------------
revno: 44.1.22.1.3.1.21.2.12
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Thu 2007-04-12 21:35:16 +1000
message:
merge from tridge
------------------------------------------------------------
revno: 44.1.57
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Thu 2007-04-12 21:32:16 +1000
message:
merge from ronnie
------------------------------------------------------------
revno: 44.1.22.1.3.1.21.2.11
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Thu 2007-04-12 21:19:00 +1000
message:
add the two missing file from the previous commit
------------------------------------------------------------
revno: 44.1.22.1.3.1.21.2.10
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Thu 2007-04-12 21:17:10 +1000
message:
add a beginning of a new test
right now this test only does one fetch lock but this will be
enhanced as more code is added to ctdb to handle fetch_lock and store_unlock
------------------------------------------------------------
revno: 44.1.22.1.3.1.21.2.9
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Thu 2007-04-12 21:14:41 +1000
message:
when sending back a fetch lock reply to a client
we cant peek in state->c since this is uninitialized
and even if it were not it would be wrong
create a new structure to pass BOTH client and also the reqid to
respond back to
the client with
------------------------------------------------------------
revno: 44.1.22.1.3.1.21.2.8
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Thu 2007-04-12 17:13:48 +1000
message:
merge from tridges tree
------------------------------------------------------------
revno: 44.1.56
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Thu 2007-04-12 16:51:33 +1000
message:
merge from ronnie
------------------------------------------------------------
revno: 44.1.22.1.3.1.21.2.7
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Thu 2007-04-12 16:49:37 +1000
message:
dont hardcode gdb in the test script. ooops
------------------------------------------------------------
revno: 44.1.22.1.3.1.21.2.6
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Thu 2007-04-12 15:46:50 +1000
message:
initial support for two new pdus for the domain socket to do
fetch_lock
no locking is yet done and the store_unlock call is still missing
the ./tests/fetch.sh --daemon test fails with parent process dying
which needs to be investigated.
------------------------------------------------------------
revno: 44.1.22.1.3.1.21.2.5
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Thu 2007-04-12 10:52:19 +1000
message:
merge from volker
------------------------------------------------------------
revno: 44.1.55
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Thu 2007-04-12 10:51:55 +1000
message:
merge from vl
------------------------------------------------------------
revno: 44.1.22.1.3.1.25
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Volker Lendecke <[EMAIL PROTECTED]>
branch nick: ctdb-vl
timestamp: Wed 2007-04-11 20:12:15 +0200
message:
Rename "private" to "private_data"
------------------------------------------------------------
revno: 44.1.22.1.3.1.24
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Volker Lendecke <[EMAIL PROTECTED]>
branch nick: ctdb-vl
timestamp: Wed 2007-04-11 16:52:06 +0200
message:
Merge tridge's tree
------------------------------------------------------------
revno: 44.1.22.1.3.1.23
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Volker Lendecke <[EMAIL PROTECTED]>
branch nick: ctdb-vl
timestamp: Wed 2007-04-11 16:51:25 +0200
message:
Add a test to read back the message
Volker
------------------------------------------------------------
revno: 44.1.54
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Thu 2007-04-12 10:44:18 +1000
message:
merge from ronnie
------------------------------------------------------------
revno: 44.1.22.1.3.1.21.2.4
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Thu 2007-04-12 09:09:27 +1000
message:
add an example on how to read a message from the domain socket
------------------------------------------------------------
revno: 44.1.22.1.3.1.21.2.3
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Thu 2007-04-12 08:44:15 +1000
message:
do an infinite loop calling event_loop_once() in the ctdbd parent
process instead of event_loop_wait() since the latter will return and thus
take down the daemon
------------------------------------------------------------
revno: 44.1.22.1.3.1.21.2.2
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Thu 2007-04-12 08:28:54 +1000
message:
add a test message to the messaging test so we can see that the
message data is also passed from originator to receiver
------------------------------------------------------------
revno: 44.1.22.1.3.1.21.2.1
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Thu 2007-04-12 07:49:28 +1000
message:
merge from ridge and vl
------------------------------------------------------------
revno: 44.1.53
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Wed 2007-04-11 22:21:43 +1000
message:
use event_loop_wait instead of while(1)
------------------------------------------------------------
revno: 44.1.52
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Wed 2007-04-11 22:19:46 +1000
message:
use lib/replace for signal.h
------------------------------------------------------------
revno: 44.1.51
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Wed 2007-04-11 22:17:24 +1000
message:
merge from volker
------------------------------------------------------------
revno: 44.1.22.1.3.1.22
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Volker Lendecke <[EMAIL PROTECTED]>
branch nick: ctdb-vl
timestamp: Wed 2007-04-11 13:57:58 +0200
message:
merge
------------------------------------------------------------
revno: 44.1.22.1.3.1.21.1.2
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Volker Lendecke <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Wed 2007-04-11 13:17:36 +0200
message:
Handle a client that exited correctly: We need to ignore SIGPIPE and
when the
read returns 0 bytes this means the client has exited. Close the
connection
then.
------------------------------------------------------------
revno: 44.1.22.1.3.1.21.1.1
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Volker Lendecke <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Wed 2007-04-11 12:49:10 +0200
message:
Fix uninitialized variable warnings
------------------------------------------------------------
revno: 44.1.50
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Wed 2007-04-11 22:11:07 +1000
message:
merge from ronnie
------------------------------------------------------------
revno: 44.1.22.1.3.1.21
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Wed 2007-04-11 20:32:24 +1000
message:
add an example on how to send a message to the daemon
(send a message to ourself)
this unfortunately terminates the ctdb daemon when running but im
too tired right now to debug it.
checkin so that nothing gets lost overnight.
------------------------------------------------------------
revno: 44.1.22.1.3.1.20
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Wed 2007-04-11 19:27:19 +1000
message:
add call/reply parsing of the cluster connect-wait call to the test
daemon.
------------------------------------------------------------
revno: 44.1.22.1.3.1.19
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Wed 2007-04-11 19:04:09 +1000
message:
add a vnn field to the ctdb_reply_connect_wait pdu so that we can tell
non-ctdb-linked clients what the vnn of the local cluster daemon is
------------------------------------------------------------
revno: 44.1.22.1.3.1.18
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Wed 2007-04-11 18:54:22 +1000
message:
create a standalone ctdb daemon and a script ./direct/ctdbd.sh to
start two such daemons in a 2 node cluster.
create a small test application that connects to the ctdb daemon at
/tmp/ctdb.socket.127.0.0.1 and do some commands to the daemon.
currently this test tool only opens the socket and registers its pid
with the daemon
(the daemon needs to know the pid so that it can forward messages to
the correct client)
the test will be extended with additional ctdb commands
------------------------------------------------------------
revno: 44.1.22.1.3.1.17
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Wed 2007-04-11 15:40:03 +1000
message:
merge from tridge
------------------------------------------------------------
revno: 44.1.49
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Wed 2007-04-11 15:23:50 +1000
message:
added --num-clients option to ctdb_messaging test
------------------------------------------------------------
revno: 44.1.48
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Wed 2007-04-11 15:09:22 +1000
message:
use the new connect_wait code in the ctdb_messaging test
------------------------------------------------------------
revno: 44.1.47
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Wed 2007-04-11 14:54:47 +1000
message:
add proper support for ctdb_connect_wait in daemon mode
------------------------------------------------------------
revno: 44.1.46
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Wed 2007-04-11 14:26:14 +1000
message:
fixed sending messages to ourselves in non-daemon mode
------------------------------------------------------------
revno: 44.1.45
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Wed 2007-04-11 14:05:01 +1000
message:
merge from ronnie, plus complete the client side of inter-node messaging
------------------------------------------------------------
revno: 44.1.22.1.3.1.16
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Wed 2007-04-11 13:43:15 +1000
message:
add a test that sends messages between clients connected to the same
ctdb
add code to actually pass the messages between clients and ctdb
------------------------------------------------------------
revno: 44.1.44
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Wed 2007-04-11 11:58:28 +1000
message:
partially completed work towards full messaging system which will work in
both daemon and standalone mode. Does not compile\! committing so ronnie can
continue while I'm out
------------------------------------------------------------
revno: 44.1.43
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Wed 2007-04-11 11:11:44 +1000
message:
merge from ronnie
------------------------------------------------------------
revno: 44.1.22.1.3.1.15
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Wed 2007-04-11 11:08:20 +1000
message:
merge from tridge
------------------------------------------------------------
revno: 44.1.22.1.3.1.14
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Tue 2007-04-10 21:14:55 +1000
message:
rename client.id to client.messenger_id to make the purpose of the
field more obvious
------------------------------------------------------------
revno: 44.1.22.1.3.1.13
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Tue 2007-04-10 21:05:29 +1000
message:
add a call to register the pid for a messengin service
store this pid inside the client structure in the ctdb daemon
------------------------------------------------------------
revno: 44.1.22.1.3.1.12
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Tue 2007-04-10 20:25:11 +1000
message:
updates from tridges tree
------------------------------------------------------------
revno: 44.1.42
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Wed 2007-04-11 11:02:26 +1000
message:
forgot to add ctdb_client.c
------------------------------------------------------------
revno: 44.1.41
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Wed 2007-04-11 11:01:42 +1000
message:
- add --daemon flag to ctdb_fetch test code
- split client specific routines out of ctdb_daemon.c
- use ctdb_queue code in message send from client to daemon
- use clearer names in client/daemon functions
- use talloc autofree context to avoid global for unlink of socket on
exit
- start on API change for message handler, to allow ctdb messaging to
handle daemon mode with multiple clients
------------------------------------------------------------
revno: 44.1.40
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Tue 2007-04-10 20:48:31 +1000
message:
fix the queueing for partially connected tcp sockets
------------------------------------------------------------
revno: 44.1.39
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Tue 2007-04-10 19:40:29 +1000
message:
make some functions static, and remove an unused structure
------------------------------------------------------------
revno: 44.1.38
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Tue 2007-04-10 19:35:21 +1000
message:
merge from ronnie
------------------------------------------------------------
revno: 44.1.22.1.3.1.11
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Tue 2007-04-10 14:53:23 +1000
message:
remove old ifdef that remained from when this was a header file
------------------------------------------------------------
revno: 44.1.37
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Tue 2007-04-10 19:33:21 +1000
message:
made all sockets handle partial IO
abstract IO via ctdb_queue_*() functions
------------------------------------------------------------
revno: 44.1.36
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Tue 2007-04-10 14:48:13 +1000
message:
merge tcp changes from ronnie
------------------------------------------------------------
revno: 44.1.22.1.3.1.10
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Tue 2007-04-10 13:17:15 +1000
message:
change the tcp code to call ctdb_read_pdu() instead of doing the
partial read thing explicitely
------------------------------------------------------------
revno: 44.1.35
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Tue 2007-04-10 14:46:32 +1000
message:
added daemon mode to ctdb_bench
------------------------------------------------------------
revno: 44.1.34
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Tue 2007-04-10 13:06:47 +1000
message:
merge from ronnie
------------------------------------------------------------
revno: 44.1.22.1.3.1.9
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Tue 2007-04-10 12:39:25 +1000
message:
move the checking of the CONNECT_WAIT flag into the start method for
tcp
------------------------------------------------------------
revno: 44.1.22.1.3.1.8
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Tue 2007-04-10 12:23:10 +1000
message:
restore the test script that was updated by mistake in the previous
checkin
------------------------------------------------------------
revno: 44.1.22.1.3.1.7
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Tue 2007-04-10 12:18:58 +1000
message:
add a CONNECT_WAIT flag to replace the call ctdb_connect_wait() since
we can no longer use this function from the application if we are in
daemon mode.
add a horrible "sleep()" to ctdb_test.c to prevent the daemon from
dissapearing (parent process died) when the application exits which may happen
before the other nodes in the test have finished talking to our daemon
------------------------------------------------------------
revno: 44.1.22.1.3.1.6
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Tue 2007-04-10 08:47:39 +1000
message:
add a atexit() call to remove the domain socket when the daemon exits
------------------------------------------------------------
revno: 44.1.22.1.3.1.5
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Tue 2007-04-10 08:38:29 +1000
message:
change ctdb_client_read() to use the ctdb_read_pdu() helper
------------------------------------------------------------
revno: 44.1.22.1.3.1.4
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Tue 2007-04-10 06:03:39 +1000
message:
make normal/deamon mode controllable by a ctdb flag so that the api
looks the same in both modes to a client.
send the correct structure back to a client
assorted other cleanups
(tests/test1.sh now works in daemon mode)
------------------------------------------------------------
revno: 44.1.22.1.3.1.3
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Mon 2007-04-09 11:51:27 +1000
message:
dispatcher daemon first try.
does not yet work
------------------------------------------------------------
revno: 44.1.22.1.3.1.2
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Sun 2007-04-08 12:11:48 +1000
message:
merge from tridge
------------------------------------------------------------
revno: 44.1.33
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Tue 2007-04-10 13:05:23 +1000
message:
fix a possible free after use
------------------------------------------------------------
revno: 44.1.32
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Tue 2007-04-10 12:51:54 +1000
message:
fix configure for new test location
------------------------------------------------------------
revno: 44.1.31
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Sat 2007-04-07 10:58:14 +1000
message:
another memory leak
------------------------------------------------------------
revno: 44.1.30
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Sat 2007-04-07 10:46:47 +1000
message:
remove talloc debug code
------------------------------------------------------------
revno: 44.1.29
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Sat 2007-04-07 10:45:00 +1000
message:
fixed a bunch of memory leaks
------------------------------------------------------------
revno: 44.1.28
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Sat 2007-04-07 10:01:09 +1000
message:
put test code in tests/ directory
------------------------------------------------------------
revno: 44.1.27
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Fri 2007-04-06 14:41:05 +1000
message:
added a magic header for wireshark and packet version info
------------------------------------------------------------
revno: 44.1.26
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Fri 2007-04-06 09:46:45 +1000
message:
merge from ronnie
------------------------------------------------------------
revno: 44.1.22.1.3.1.1
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Fri 2007-04-06 09:08:41 +1000
message:
When we create a tcp connection to a remote ctdb node do an explicit
bind() to set our source side to the same ip address as we use to listen to
ctdb traffic.
We need this since there is no guarantee that INADDR_ANY (which would
be defaulted to if we dont bind) would be routable from the remote host.
This is entirely possible to happen since CTDB traffic is likely to
be isolated to a private non-routable network.
------------------------------------------------------------
revno: 44.1.25
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Thu 2007-04-05 13:19:06 +1000
message:
merge from ronnies branch
------------------------------------------------------------
revno: 44.1.22.1.4
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: ronnie
timestamp: Thu 2007-04-05 13:18:31 +1000
message:
merge fetch code from ronnie, and add a simple fetch test
------------------------------------------------------------
revno: 44.1.22.1.3
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Wed 2007-04-04 21:15:56 +1000
message:
first test of forced migration of records. compiles but not tested.
------------------------------------------------------------
revno: 44.1.22.1.2
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Wed 2007-04-04 15:05:35 +1000
message:
tridge
------------------------------------------------------------
revno: 44.1.24
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Wed 2007-04-04 15:02:49 +1000
message:
merge back some changes from Samba4
------------------------------------------------------------
revno: 44.1.23
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Tue 2007-04-03 20:13:50 +1000
message:
merge multi-database support from ronnie
------------------------------------------------------------
revno: 44.1.22.1.1
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Tue 2007-04-03 19:41:00 +1000
message:
Split CTDB into sub contexts to handle multiple concurrent databases
within the same context.
------------------------------------------------------------
revno: 44.1.22
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Thu 2007-03-08 11:27:15 +1100
message:
merged changes from peter
Diff too large for email (7810, the limit is 1000).