summaryrefslogtreecommitdiffstats
path: root/ctdb/tcp/ctdb_tcp.h
Commit message (Collapse)AuthorAgeFilesLines
* Added some #ifndefs to stop files being included multiple times.Martin Schwenke2011-11-111-1/+5
| | | | | | Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit fdca12c25e6fce6206135b994dedf44265e4eb09)
* to make it easier/less disruptive to add nodes to a running clusterRonnie Sahlberg2008-02-191-0/+1
| | | | | | | | | | | | | | add a new control that causes the node to drop the current nodes list and reread it from the nodes file. During this operation, the node will also drop the tcp layer and restart it. When we drop the tcp layer, by talloc_free()ing the ctcp structure add a destructor to ctcp so that we also can clean up and remove the references in the ctdb structure to the transport layer add two new commands for the ctdb tool. one to list all nodes in the nodesfile and the second a command to trigger a node to drop the transport and reinitialize it with the nde nodes file (This used to be ctdb commit 4bc20ac73e9fa94ffd43cccb6eeb438eeff9963c)
* fixed a double close of a socket, leading to an EPOLL errorAndrew Tridgell2007-10-221-0/+1
| | | | (This used to be ctdb commit bbe8ad842bdfedd37ef14a6be07ad939113fe9b1)
* update lib/replace from samba4Andrew Tridgell2007-07-101-3/+2
| | | | (This used to be ctdb commit f0555484105668c01c21f56322992e752e831109)
* rename tnode->queue to tnode->out_queue to indicate this queue is for Ronnie Sahlberg2007-07-021-1/+1
| | | | | | sending data out to the other node (This used to be ctdb commit 0bc949c529094570da56c9007ff96b1f5ad02c59)
* ctdb is GPL not LGPLAndrew Tridgell2007-05-311-12/+12
| | | | (This used to be ctdb commit 8624378010d1c2a1438e1e701339dfba7276f960)
* make sure we find out about new nodes as fast as possibleAndrew Tridgell2007-05-251-0/+2
| | | | (This used to be ctdb commit 73f2c77166e2053625d0f76c370cf7e789a63fdf)
* private -> private_data for samba3Andrew Tridgell2007-04-131-2/+2
| | | | (This used to be ctdb commit 080b6901173afb2ad618dd0621876ff478c7d6e5)
* fix the queueing for partially connected tcp socketsAndrew Tridgell2007-04-101-0/+1
| | | | (This used to be ctdb commit 55f1c2442a53a547302669a4fdd0f1c1deeed930)
* made all sockets handle partial IOAndrew Tridgell2007-04-101-17/+3
| | | | | | abstract IO via ctdb_queue_*() functions (This used to be ctdb commit 636ae76f4632b29231db87be32c9114f58b37840)
* change the tcp code to call ctdb_read_pdu() instead of doing the partial ↵Ronnie sahlberg2007-04-101-11/+1
| | | | | | read thing explicitely (This used to be ctdb commit 6156bec0187df27578afd5afa3fcaadb1a202030)
* enforce the tcp memory alignment in packet queue Andrew Tridgell2006-12-191-0/+2
| | | | (This used to be ctdb commit 222f53a3205509a45fbc3267297521df22a414ec)
* added handling of partial packet readsAndrew Tridgell2006-12-191-0/+15
| | | | | | | added transport level packet allocator, allowing the transport to enforce alignment or special memory rules (This used to be ctdb commit 50304a5c4d8d640732678eeed793857334ca5ec1)
* - setup a convenience name field for nodesAndrew Tridgell2006-11-281-4/+11
| | | | | | | | | | | | - added basic IO handling for the tcp backend - added a ctdb_node_dead upcall - added packet queueing - adding incoming packet handling (This used to be ctdb commit 415497c952630e746e8cdcf8e1e2a7b2ac3e51fb)
* - split up tcp functions into more logical partsAndrew Tridgell2006-11-281-0/+11
| | | | | | - added upcall methods from transport to ctdb layer (This used to be ctdb commit 59f0dab652000f1c755e59567b03cf84dad7e954)
* started splitting out transport codeAndrew Tridgell2006-11-271-0/+41
(This used to be ctdb commit 3b75ef65bd0bff9c6366aba5a26b90be509fa77b)