summaryrefslogtreecommitdiff
path: root/source4/cluster/cluster.h
AgeCommit message (Collapse)AuthorFilesLines
2013-04-12source4/cluster and source4/ntvfs: convert to dbwrap, add ntdb option.Rusty Russell1-1/+1
This makes the code use dbwrap_local_open(), so it can handle NTDB. brlock.tdb, notify.tdb and openfiles.tdb can now be brlock.ntdb, notify.ntdb and openfiles.ntdb, if 'use ntdb' is set. Cc: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Reviewed-by: Jeremy Allison <jra@samba.org>
2011-06-09lib/util Bring procid_str() into lib/util as server_id_string()Andrew Bartlett1-1/+0
This is needed for OpenChange, which prints Samba struct server_id values in debug messages. Andrew Bartlett
2011-06-09server_id.idl: Bring server_id.idl in commonAndrew Bartlett1-1/+1
Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-06-09s4-cluster Use task_id instead of id2 to clarify server_id structureAndrew Bartlett1-2/+2
This seems a clearer and more acceptable name. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-05-03s4-messaging Rename messaging -> imessagingAndrew Bartlett1-3/+3
This avoid symbol and structure conflicts between Samba3 and Samba4, and chooses a less generic name. Andrew Bartlett
2011-05-03s4-cluster Rename server_id.node -> vnn to match Samba3Andrew Bartlett1-2/+2
2011-05-03s4-cluster: Remove const from cluster_id_string()Andrew Bartlett1-1/+1
This allows the caller to talloc_free() this result. Andrew Bartlett
2011-05-03s4:cluster Rename .id to .pid in server_idAndrew Bartlett1-1/+1
This also changes some DEBUG messages to use cluster_id_string() rather than .id, to isolate them from this and other changes. Andrew Bartlett
2011-02-18s4-idl: rename s4 server_id.idl to server_id4.idlAndrew Tridgell1-1/+1
this avoids a conflict with the new s3 server_id.idl Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-12-05s4:cluster/cluster.h - fix another gcc 3.4 "struct" warningMatthias Dieter Wallnöfer1-0/+2
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Dec 5 21:22:18 CET 2010 on sn-devel-104
2008-02-04Fix a few more breakages from our recent changes to the server_idAndrew Bartlett1-1/+3
structure. The BASE-TORTURE test found this problem - caused because the messaging path was not unique. If we didn't use a macro for cluster_id_equal(), we could make it opaque, and avoid this... Andrew Bartlett (This used to be commit c3387545c57d2dd4922b4f3806b4552cee8035a3)
2008-02-04Rework cluster_id() to take an additional argument, as we needAndrew Bartlett1-1/+1
<node>.<pid>.<fd> to be unique in a prefork process environment. Andrew Bartlett and David Disseldorp (This used to be commit 931994a7f185bbc98924823e9e8cef1011dd0957)
2007-12-21r26431: Require ndr_push creators to specify a iconv_convenience context.Jelmer Vernooij1-1/+1
(This used to be commit 7352206f4450fdf881b95bda064cedd9d2477e4c)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r21256: - msg_type is not needed in the cluster messaging APIAndrew Tridgell1-1/+1
- merge ctdb_get_num_nodes() from bzr tree (This used to be commit 3df7527aedeba7ce2f4a6ca2d3b7167f58c6b68a)
2007-10-10r21233: first version of samba4 messaging using ctdb is working. This means weAndrew Tridgell1-2/+1
should now work on a real cluster, and not just a localhost simulator (This used to be commit f05072ad74fb08fd906bc500c5e89930bcc3387f)
2007-10-10r21230: added the hooks needed in the cluster layer and the messaging code forAndrew Tridgell1-1/+14
handling messages to remote nodes. Implemented dummy functions in the 'local' cluster backend for the messaging hooks, and modified the messaging layer to check if the destination is remote and redirect messages via the cluster layer (This used to be commit 4474552e8fb73efebef32ad8480d7fe9a1e379ef)
2007-10-10r20919: add a function cluster_tdb_tmp_open() which can be used in a clusterAndrew Tridgell1-0/+1
environment for subsystems that have not yet been converted to use ctdb to get a shared temporary tdb (This used to be commit 0ed91384497aed6817b2220c31344bfcd45fd033)
2007-10-10r20887: allow the registration of multiple cluster backendsAndrew Tridgell1-0/+1
this is in preparation for ctdb (This used to be commit 489f022175a1022bcca8053116362825daae5e40)
2007-10-10r20647: add cluster codeAndrew Tridgell1-0/+35
(This used to be commit 5870830b99a8d76bda1ff5af3fcf8dda9aba50ec)