Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-12-23 | s3:lib/ctdbd_conn: try ctdbd_init_connection() as root | Stefan Metzmacher | 1 | -0/+2 | |
ctdbd_traverse is only called if the main db_context is already open. So if we could get to information via dbwrap_fetch, we should also be able to traverse. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Dec 23 18:19:14 CET 2011 on sn-devel-104 | |||||
2011-12-12 | s3-ctdb: fix the build w/o HAVE_CTDB_CONTROL_CHECK_SRVIDS_DECL | Günther Deschner | 1 | -0/+4 | |
Volker, please check. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Dec 12 17:42:29 CET 2011 on sn-devel-104 | |||||
2011-11-30 | s3-ctdb: Make use of CTDB_CONTROL_CHECK_SRVIDS | Volker Lendecke | 1 | -2/+210 | |
This should be a lot quicker than PROCESS_EXISTS followed by looking at serverid.tdb Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Nov 30 12:47:27 CET 2011 on sn-devel-104 | |||||
2011-11-10 | s3: server_id.pid has turned 64 (bits, that is) | Volker Lendecke | 1 | -4/+11 | |
Fix ctdb_processes_exist protocol. The socket expects pid_t which is 32 bits on 32 bit machines. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Nov 10 18:57:01 CET 2011 on sn-devel-104 | |||||
2011-10-27 | s3-ctdb: Fix ctdb_read_req | Volker Lendecke | 1 | -23/+17 | |
If a complete request has come in already before we consumed it, the ctdb_packet_fd_read_sync will block indefinitely. So always try packet_handler first and only if that fails due to insufficient data, read from the socket. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Oct 27 22:12:05 CEST 2011 on sn-devel-104 | |||||
2011-10-27 | s3-ctdb: Add debug to ctdb_processes_exist | Volker Lendecke | 1 | -0/+6 | |
2011-10-27 | s3-ctdb: Make ctdbd_process_exists use ctdbd_processes_exist | Volker Lendecke | 1 | -13/+8 | |
Not strictly necessary, but more code exercise is good | |||||
2011-10-27 | s3-ctdb: Add ctdb_processes_exist | Volker Lendecke | 1 | -0/+98 | |
This sends out a number of process_exists controls in parallel and collects the replies as they come in. | |||||
2011-10-27 | s3-ctdb: Allow ctdb_read_req to read any reqid | Volker Lendecke | 1 | -1/+1 | |
2011-10-27 | s3-ctdb: Don't hand out 0 as reqid | Volker Lendecke | 1 | -4/+13 | |
0 will be used as a wildcard reqid in ctdb_read_req | |||||
2011-10-27 | s3: Fix some type-punned warnings | Volker Lendecke | 1 | -4/+4 | |
2011-08-30 | s3: Silence some warnings | Volker Lendecke | 1 | -0/+19 | |
Rusty, please suggest a proper fix for this. Thanks, Volker Lendecke Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Aug 30 19:16:14 CEST 2011 on sn-devel-104 | |||||
2011-08-25 | s3: Remove a bogus comment | Volker Lendecke | 1 | -4/+0 | |
2011-06-09 | s3-talloc Change TALLOC_ZERO_P() to talloc_zero() | Andrew Bartlett | 1 | -1/+1 | |
Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_P isn't standard talloc. | |||||
2011-06-09 | s3-talloc Change TALLOC_P() to talloc() | Andrew Bartlett | 1 | -2/+2 | |
Using the standard macro makes it easier to move code into common, as TALLOC_P isn't standard talloc. | |||||
2011-05-19 | Fix Bug 8152 - smbd crash in release_ip() | Christian Ambach | 1 | -0/+5 | |
release_ip() needs the private_data, but it was never saved away to feed it into release_ip() later Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Thu May 19 21:21:14 CEST 2011 on sn-devel-104 | |||||
2011-05-06 | s3: only include tdb headers where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-05-03 | s3-ctdb Fix duplicate function name due to packet -> ctdb_packet rename. | Andrew Bartlett | 1 | -1/+1 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2011-05-03 | s3-ctdb Rename packet file and files to ctdb_packet | Andrew Bartlett | 1 | -29/+29 | |
This avoids a conflicts with the Samba4 packet.c, as these is only used in CTDB Andrew Bartlett | |||||
2011-03-31 | s3:ctdb: pass the ctdb control flags to the ctdb daemon when sending the control | Michael Adam | 1 | -0/+1 | |
The only flag that is currently used is the NOREPLY flag to indicate that the client expects no reply packet. This needs to get passed down to the ctdb daemon so that it really does not send a reply. | |||||
2011-03-31 | s3:ctdb: samba can now handle the NOREPLY flag | Michael Adam | 1 | -3/+0 | |
Revert "samba3 can't handle NOREPLY yet" This reverts commit 9bf211db6d7d6ef6e59508de69d6d8dfe5bae059. | |||||
2011-03-31 | s3:ctdb: correctly handle cstatus if CTDB_CTRL_FLAG_NOREPLY is set. | Michael Adam | 1 | -0/+3 | |
2011-03-30 | s3-messages: make ndr_messaging.h part of messages.h. | Günther Deschner | 1 | -2/+0 | |
Guenther | |||||
2011-03-30 | s3-messages: only include messages.h where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-03-16 | s3-packet: only include packet.h where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-02-28 | s3: Eliminate select from packet_fd_read_sync | Volker Lendecke | 1 | -6/+5 | |
2011-02-02 | s3: Remove superfluous ; | Günther Deschner | 1 | -1/+1 | |
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Feb 2 15:44:21 CET 2011 on sn-devel-104 | |||||
2011-01-21 | s3: Fix the code to immediately disconnect from a non-working ctdbd | Volker Lendecke | 1 | -0/+1 | |
2010-11-02 | s3: Do not connect to ctdb if it is blocked for some reason | Volker Lendecke | 1 | -0/+58 | |
2010-11-02 | cluster_fatal() exit code should not indicate success. | Martin Schwenke | 1 | -1/+1 | |
cluster_fatal() logs a fatal event and then exits with 0. This seems wrong. Sometimes command like "net" use this code and return incorrect empty output but then exit with 0. This simply changes the exit code to 1. Signed-off-by: Martin Schwenke <martin@meltin.net> | |||||
2010-10-26 | s3: Pass tdb_flags to ctdbd when attaching to a db | Volker Lendecke | 1 | -1/+1 | |
This is required to make ctdb create databases with INCOMPATIBLE_HASH | |||||
2010-09-26 | s3: Remove talloc_autofree_context() from ctdb_read_req() | Volker Lendecke | 1 | -1/+2 | |
2010-09-20 | s3-build: only include ctdbd_conn.h where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-09-01 | s3-ctdb: ctdbd_init_connection() is static to this file. | Günther Deschner | 1 | -8/+0 | |
Guenther | |||||
2010-08-31 | s3: Make ctdbd_init_connection static | Volker Lendecke | 1 | -2/+2 | |
2010-07-05 | s3: Remove procid_self() from ctdb_read_req() and ctdb_handle_message() | Volker Lendecke | 1 | -4/+8 | |
2010-07-05 | s3: Remove some type-punned warnings | Volker Lendecke | 1 | -5/+5 | |
2010-05-18 | s3-build: fix the build. | Günther Deschner | 1 | -2/+2 | |
Guenther | |||||
2010-02-12 | s3:ctdb_conn: add ctdbd_conn_get_fd() to get the fd out of the ctdb connection | Michael Adam | 1 | -0/+5 | |
Michael | |||||
2010-02-12 | s3: Add ctdb_conn_msg_ctx() | Volker Lendecke | 1 | -0/+5 | |
2010-02-12 | s3: Implement global locks in a g_lock tdb | Volker Lendecke | 1 | -5/+68 | |
This is the basis to implement global locks in ctdb without depending on a shared file system. The initial goal is to make ctdb persistent transactions deterministic without too many timeouts. | |||||
2010-02-05 | s3-brlock: we don't need these MSG_SMB_UNLOCK calls now | Andrew Tridgell | 1 | -8/+0 | |
These have been replaced with the min timeout in blocking.c | |||||
2009-11-05 | s3: Add parameter "ctdb timeout" | Volker Lendecke | 1 | -2/+13 | |
When something in the cluster blocks, it can happen that we wait indefinitely long for ctdb, just adding to the blocking condition. In theory, nothing should block, but as someone said "In practice the difference between theory and practice is larger than in theory". This adds a timeout parameter in seconds, after which we stop waiting for ctdb and panic. | |||||
2009-11-02 | s3: Fix a 100% CPU loop when ctdbd dies during a traverse | Volker Lendecke | 1 | -0/+1 | |
2009-08-07 | Fix some nonempty blank lines | Volker Lendecke | 1 | -10/+9 | |
2009-07-16 | Replace more long-lived contexts with talloc_autofree_context(). | Jeremy Allison | 1 | -1/+1 | |
Jeremy. | |||||
2009-05-04 | Do not crash in ctdbd_traverse if ctdbd is not around | Volker Lendecke | 1 | -0/+5 | |
2009-01-29 | s3:ctdbd_conn: canonicalize ips before sending them to ctdbd | Stefan Metzmacher | 1 | -10/+40 | |
This makes samba work with older ctdb versions. metze | |||||
2009-01-16 | s3:cluster: fix ctdb ipv6 support | Stefan Metzmacher | 1 | -10/+20 | |
We need to use CTDB_CONTROL_TCP_CLIENT instead of CTDB_CONTROL_TCP_ADD. CTDB_CONTROL_TCP_CLIENT has support for 2 modes in newer ctdb versions: - with struct ctdb_control_tcp it only supports ipv4. - with struct ctdb_control_tcp_addr it supports ipv4 and ipv6. You need new header files which defines struct ctdb_control_tcp_addr, but at runtime it should be fine to work against older ctdb versions (<= 1.0.68). metze | |||||
2009-01-05 | s3:events: change event_add_timed() prototype to match samba4 | Stefan Metzmacher | 1 | -2/+1 | |
metze |