1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

7394 Commits

Author SHA1 Message Date
Peter Somogyi
6df8352035 Using struct <type> instead of typedefs.
(This used to be ctdb commit d830c1ca25b13e82357f439a2ba39540f81a6ecd)
2006-12-13 11:02:49 +01:00
Peter Somogyi
4e3beb673e Raw implementation done.
Let's start compilation...

(This used to be ctdb commit 24d2a0615a308dee47ae87c5c84e1133858b3d27)
2006-12-12 19:09:16 +01:00
Peter Somogyi
96cdb37f7b Rough implementation of buffer handling.
Many conceptual fix.

(This used to be ctdb commit 26ed351cfc883691446c792cd2d93847a31bc659)
2006-12-11 19:56:15 +01:00
Peter Somogyi
c7041149b4 Implemented cm usage.
TODO: implement verbs user logic.

(This used to be ctdb commit afa33107137698500d0aabaf244ea4276c415929)
2006-12-06 18:49:46 +01:00
Peter Somogyi
49773cc523 Added some event handling (incomplete)...
(This used to be ctdb commit 055854ed0193bdd344c64c95ef3864580f744ecf)
2006-12-05 18:48:16 +01:00
Peter Somogyi
cb26789308 bzr email plugin test
(This used to be ctdb commit 85c7d655c0d0909f2b527ec2a233e430db683da8)
2006-12-05 16:25:43 +01:00
Peter Somogyi
45280f749e Testing e-mail notification...
(This used to be ctdb commit f7ebe9c1d4515a6bf39f1321b252b791560ff04b)
2006-12-05 13:17:41 +01:00
Peter Somogyi
9c21a32c30 Using samba DLIST helper macro set.
(This used to be ctdb commit 1ed174dd02428748b8273a91c8d0d335795f12c3)
2006-12-05 13:09:48 +01:00
Peter Somogyi
948dd45225 Implementing basic data structure handling...
(This used to be ctdb commit abc571a9948b51a436bacaae89b49b8a0e08a093)
2006-12-04 19:48:11 +01:00
Peter Somogyi
00480bf2bf Just testing the bzr e-mail plugin...
(This used to be ctdb commit 2eb9faa615aa10e45a744045c5373c4ab1d2783b)
2006-12-04 14:27:46 +01:00
Peter Somogyi
71dcef5635 Added infiniband transport implementation(incomplete) and interface.
(This used to be ctdb commit b53356124141b6419a2cd3652a8dd4389fe8e46b)
2006-12-04 14:02:08 +01:00
Alexander Bokovoy
606a4d9113 Provide an alternative CTDB_NO_MEMORY_NULL() for functions which return a pointer
(This used to be ctdb commit 51c79e19df777fb53a5c210efc1c9d3159059de3)
2006-12-01 12:26:21 +03:00
Andrew Tridgell
35a627cc32 queue up packets to nodes that aren't connected yet. This avoids a
startup race condition in the test suite

(This used to be ctdb commit b623ac755de843a3386a7c0e882d651b7f20d482)
2006-12-01 15:54:15 +11:00
Andrew Tridgell
ec5d2ddd8e - added ctdb_set_flags() call
- added --self-connect option to ctdb_test, allowing testing when a
  node connects to itself. not as efficient as local bypass, but very
  useful for testing purposes (easier to work with 1 task in gdb than
  2)

- split the ctdb_call() into an async triple, in the style of Samba4
  async functions. So we now have ctdb_call_send(), ctdb_call_recv()
  and ctdb_call().

- added the main ctdb_call protocol logic. No error checking yet, but
  seems to work for simple cases

- ensure we initialise the length argument to getsockopt()

(This used to be ctdb commit 95fad717ef5ab93be3603aa11d2878876fe868d3)
2006-12-01 15:45:24 +11:00
Andrew Tridgell
7e21f51b05 - added a 1 node test
- only need 10 elements in test code, more just makes it hard to
  follow in a debugger

(This used to be ctdb commit 7df191112b10466a35a4ff130dade52a6c3c2646)
2006-12-01 10:23:03 +11:00
Andrew Tridgell
559f169aa2 - fixed the sort function to include the exsting data
- use numbers below 1000 in test code to make debug easier

- use ctdb_connect_wait()

(This used to be ctdb commit 216850e63e335de7d7cbe6c351d948bb8f1565e7)
2006-12-01 09:02:17 +11:00
Andrew Tridgell
326f2c7f98 need the header changes too
(This used to be ctdb commit 57dd0a1453e99604b3accc6dc2c183c547f37d1b)
2006-12-01 09:01:11 +11:00
Andrew Tridgell
375eeb8a24 added ctdb_connect_wait()
(This used to be ctdb commit 0a033f04bbc17db1aaa3a4458149e1e6b055cb9a)
2006-12-01 08:58:08 +11:00
Andrew Tridgell
c6e9ec5166 merge parts of the changes from ab. Don't merge ctdb_test changes yet
(This used to be ctdb commit 003a9233e4dbd82b47aad5e124c4bf6d8c1925e0)
2006-12-01 07:04:33 +11:00
Alexander Bokovoy
7586ae4ebb regenerate configure after changing configure.ac
(This used to be ctdb commit 5c15cfabba62a8150cf87f3f903ba42670841100)
2006-11-29 17:48:52 +03:00
Alexander Bokovoy
c49d23169a change test a bit -- work on whole array of ints and process it in the loop (locally)
(This used to be ctdb commit d7406263e220b093254603c2dc4884a697631760)
2006-11-29 17:48:32 +03:00
Alexander Bokovoy
5f3ef90134 rely on ctdb_test.c for the moment
(This used to be ctdb commit ba7b425d01719d745fb95842dec9b19b3d310ca7)
2006-11-29 17:48:01 +03:00
Alexander Bokovoy
ad4443e5e2 Fix ctdb_call() fetching data and ltdb backend flags
(This used to be ctdb commit 5ecee128edcd56d7715567cc1d1403453826c664)
2006-11-29 17:47:42 +03:00
Alexander Bokovoy
b17a9b8f97 Ignore configure
(This used to be ctdb commit 7d6e4c7dcf5bfce80195002d618784aca0c3b96e)
2006-11-29 17:45:14 +03:00
Alexander Bokovoy
bc26f2af2f Ignore configure
(This used to be ctdb commit 92e1e546cdf0a0c9ff4978c32fbd56a305b142bf)
2006-11-29 17:43:05 +03:00
Andrew Tridgell
fcae7fb9ca - added in idtree for efficient reqid handling
- started adding ctdb_call() code

- added ctdb_call_local() implementation

(This used to be ctdb commit 97b1fdf7fa0e230f36add3f1770ecb3a9faee0a1)
2006-11-28 20:48:34 +11:00
Andrew Tridgell
fdb317facf - added simple (fake) vnn system
- split up ctdb layer code into 3 modules

- added a simple test suite

- added packet structures for ctdb_call

- switched to an array for ctdb_node to make vnn lookup easy and fast

(This used to be ctdb commit 8a17460a816a5970f2df8244a06aec55d814f186)
2006-11-28 17:56:10 +11:00
Andrew Tridgell
5d0ba69e06 - setup a convenience name field for nodes
- 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)
2006-11-28 14:15:46 +11:00
Andrew Tridgell
5b06e73fb1 - split up tcp functions into more logical parts
- added upcall methods from transport to ctdb layer

(This used to be ctdb commit 59f0dab652000f1c755e59567b03cf84dad7e954)
2006-11-28 11:51:33 +11:00
Andrew Tridgell
5af324a795 this file is not needed yet
(This used to be ctdb commit 7204fc26dedb0b610d3b92eb1e1d7492ee9c7eb0)
2006-11-27 21:41:36 +11:00
Andrew Tridgell
749a6b4c3a started splitting out transport code
(This used to be ctdb commit 3b75ef65bd0bff9c6366aba5a26b90be509fa77b)
2006-11-27 21:38:13 +11:00
Alexander Bokovoy
238439d736 Fix popt handling, this fixes segfault while asking for --help
(This used to be ctdb commit b4d48ff750740cb398836c143930f2780a074885)
2006-11-27 11:19:03 +03:00
Andrew Tridgell
77f444b0ad example node list
(This used to be ctdb commit 2552bde0d5b7b4d30f1c14da50098d2b1c77fef6)
2006-11-18 15:34:35 +11:00
Andrew Tridgell
b97e51b765 don't talk to ourselves
(This used to be ctdb commit 0e90e364cb0602c59030aaa8e51064589849efe8)
2006-11-18 15:33:56 +11:00
Andrew Tridgell
9ef0cfa2e9 added a test event loop
(This used to be ctdb commit 0a07269cc5e44f47352ac39170ce4cb9b400055f)
2006-11-18 15:27:36 +11:00
Andrew Tridgell
767dec9f62 added event context
(This used to be ctdb commit 3c9d5aba205c97ef2698567e42ed49cadf8137f2)
2006-11-18 14:33:05 +11:00
Andrew Tridgell
84ff6b1731 added ignore
(This used to be ctdb commit 3e119ebe7c545e31626f09fdc6dc075c09528411)
2006-11-18 13:48:14 +11:00
Andrew Tridgell
bbd6b83c63 stub for ctdb_call
(This used to be ctdb commit d707ad000c4f37686a0698f2c3047bbbaa7e875b)
2006-11-18 13:46:38 +11:00
Andrew Tridgell
2f96398da1 added incoming setup
added ctdb_start

(This used to be ctdb commit da6f07f7bb8b6a0a0d4e4c0e1358401d1f9f4175)
2006-11-18 13:45:04 +11:00
Andrew Tridgell
75bc761967 added ctdb_set_address and broke out parsing
(This used to be ctdb commit 88071e67c916be8c9cd406f1353480183e24919c)
2006-11-18 11:21:40 +11:00
Andrew Tridgell
2b0530f51d get rid of some .svn files
(This used to be ctdb commit 43a7b5f1cf9d4aa46bf0f3b7857f0af5ada26b0b)
2006-11-18 11:00:52 +11:00
Andrew Tridgell
36223f0540 added a README
ignore some files

(This used to be ctdb commit b0d064e666170f7bb004639b6da9e0200f97c608)
2006-11-18 10:57:01 +11:00
Andrew Tridgell
050bea4a26 right include file path
(This used to be ctdb commit 5ebe14acdc972dc3ad37bdba6b3f113c36a814a7)
2006-11-18 10:55:55 +11:00
Andrew Tridgell
6613b7d438 initial version
(This used to be ctdb commit 5bba7deef9b03a68d336c138e83d6d4fac35bfce)
2006-11-18 10:41:20 +11:00