1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-07 17:18:11 +03:00
Commit Graph

3426 Commits

Author SHA1 Message Date
Andrew Tridgell
a58484f51a merge multi-database support from ronnie
(This used to be ctdb commit f8fbc2d07d68c60a6b56389ba041f85195d2c25e)
2007-04-03 20:13:50 +10:00
Ronnie sahlberg
8ccef4cb75 Split CTDB into sub contexts to handle multiple concurrent databases within the same context.
(This used to be ctdb commit d995103143f6f13f59118549d93ab4b29c27ec89)
2007-04-03 19:41:00 +10:00
Peter Somogyi
a003ee9571 ib: test scenario was wrong
it sent message in both (or all) direction at the same time. Now it measures normal pingpong.

(This used to be ctdb commit 26646aa91eb4e31efe6bacd92806ef7477b03bb7)
2007-03-29 18:46:02 +02:00
root
7a11082f0f collect net conf list in ctdb_diagnostics
(This used to be ctdb commit 0bb130090b8dce5f85b0cb178a19f877759c0caa)
2007-03-10 14:10:21 +11:00
root
b1e7724eb8 check the static-routes file if it exists
(This used to be ctdb commit 9ce84a7915abaa987160ecbcae63128a9ed0a741)
2007-03-10 13:45:38 +11:00
Andrew Tridgell
2b276d0812 merged changes from peter
(This used to be ctdb commit da81d849be32427b0e13fc8b45e01c5015a35b29)
2007-03-08 11:27:15 +11:00
Peter Somogyi
1714c1ed0c ib: added external send queue to workaround downtime
Workaround is because I couldn't find a correct way in ib to reconnect cleanly (with queue kept) when destination is unreachable.
When connection is broken, all internal queue contents are being destroyed and reconnects automatically.
An "external" send queue is kept until the connection is up again for a dest node.

(This used to be ctdb commit 49cac6eafb9d9c80ef1c7f0388aa7786c8be6f24)
2007-02-26 11:59:20 +01:00
Peter Somogyi
6bcb712d3b merged tridge's code
(This used to be ctdb commit fcf2f4783842edb3e91a62941aee62e24c19024c)
2007-02-22 18:25:18 +01:00
Andrew Tridgell
f49c93f96b added --num-msgs option
added TCP_NODELAY on tcp sockets

(This used to be ctdb commit fa76cff388237adea98c2be0827c54334080256a)
2007-02-20 14:57:13 +11:00
Andrew Tridgell
cc2696cc50 added rest of tdb (missed in earlier commit)
(This used to be ctdb commit 4c1434cc4613fc94958de0aa882bf7ca41ec8458)
2007-02-20 13:24:45 +11:00
Andrew Tridgell
0ecc6cd1d0 ignored some files
(This used to be ctdb commit bb1a80492851c380fb239ce294fc1fae697006a0)
2007-02-20 13:23:43 +11:00
Andrew Tridgell
8be5bdd671 added a benchmark script that launches via ssh
(This used to be ctdb commit 7eeeb9c1d8f82739015ce78d8c90291baf3b1982)
2007-02-20 13:23:01 +11:00
Andrew Tridgell
ed6d9d0606 support hostnames for node names
(This used to be ctdb commit 5c45b51ec42cdbadce7870b47b765a79d8d41b8b)
2007-02-20 13:22:18 +11:00
Peter Somogyi
847343e00e workaround proposal for the initialization-problem
(This used to be ctdb commit 2ee400d99fb57796a0e7c3256387ef77f6908f33)
2007-02-16 15:21:31 +01:00
Peter Somogyi
c82dd38544 merged tridge's fix
(This used to be ctdb commit 95d3bf8c31d39e697bfae09362fa5a271cbc6a26)
2007-02-16 15:20:36 +01:00
Andrew Tridgell
728b898321 fixed incr initialisation
(This used to be ctdb commit 36f386dcbca98c0bed96713e736170f6d537b83c)
2007-02-16 14:48:27 +11:00
Andrew Tridgell
3c6a64175e merged peters IB work
(This used to be ctdb commit a7062f777c6bcf5ea5aca1e6fd647f5c4806f7f0)
2007-02-16 14:41:45 +11:00
Peter Somogyi
199a5befb6 1st working ib integrated ctdb
TODO: bugfix of ctdb_bench (wants to sent via uninitialised connection - see bench_ring/dest)

(This used to be ctdb commit 61516461e9d45dc7ba87518d134894fed7d7b7cd)
2007-02-15 17:02:38 +01:00
Peter Somogyi
1c8bcd6f57 ib: a trivial approach of integration
TODO: bugfix (not yet complete, something happens differently than expected 
at tcpip when connection is refused in the beginning)

(This used to be ctdb commit 330d76fb91f717d4fb8d1be29c11ddf8c25a4f1c)
2007-02-14 18:58:20 +01:00
Peter Somogyi
8b6f1c39e7 Some minor changes before integrating ib...
(This used to be ctdb commit fa39ad5054de6e781ca980b9e24d22fa0c67e9ae)
2007-02-12 16:47:12 +01:00
Peter Somogyi
3e9e91103b Merged tridge's code.
(I had error 206 at direct bzr merge, so 1st I did a "bzr branch" and merged that one.)

(This used to be ctdb commit 9d4d2a8e034f1288583eb98c0f48a51ff323ccac)
2007-02-12 15:13:22 +01:00
Peter Somogyi
1966bdbff4 ib: adjustment of a test scenario
(This used to be ctdb commit be9d147e754f41bef9c34d1e924c03172ff96a7f)
2007-02-09 18:06:13 +01:00
Andrew Tridgell
16a3a6d0cb added a simple benchmark script
(This used to be ctdb commit 508cca97083bf21bcce3505d0964dd33a8298624)
2007-02-09 12:46:16 +11:00
Andrew Tridgell
f71f62fabd changed ctdb_bench.c to use messages instead of calls
(This used to be ctdb commit d147a434f827f83cf90228a3ed37338db8e9df13)
2007-02-09 12:45:58 +11:00
Andrew Tridgell
e372d2d5fb merged ib work from peter
(This used to be ctdb commit cc3d44b531999dafd752be84e8a966ea6252d65a)
2007-02-09 09:54:21 +11:00
Andrew Tridgell
df4439d384 ignore config.h*
(This used to be ctdb commit f4e4bbc7ae8235654d7c58103e47fc5f30ddc272)
2007-02-09 09:47:53 +11:00
Andrew Tridgell
26d62554c2 merged ctdb messaging code from samba4
(This used to be ctdb commit af3010562763811deb9b7e37fea9962a42885d9d)
2007-02-09 09:42:04 +11:00
Peter Somogyi
36a49682ed merged tridge's code
(This used to be ctdb commit 85d23c52462f6c706626022c3d2ddf731c93599f)
2007-02-08 19:08:58 +01:00
Peter Somogyi
cae71b84d6 ib: fragment sent buf + many bugfixes
It came to light I have to fragment the send buffer in case destination's to fit receiver's buffers.
Additionally fixed many bugs.
Still testing.
+ TODO: clean code.

(This used to be ctdb commit 2f8876f09bc92169487cb077326579044560a121)
2007-02-08 19:06:14 +01:00
Andrew Tridgell
979ef2832a merged from samba4 ctdb
(This used to be ctdb commit 677fd2a7758b743ea920d0b3adb85fbb3f1ff49e)
2007-02-07 13:26:07 +11:00
Peter Somogyi
3222a41b9b Added variable msg size scenario.
Detected 1 bug, fixing...

(This used to be ctdb commit 0b7bbd6d7f74f102c475f92448609673dc5efdca)
2007-02-02 18:54:57 +01:00
Peter Somogyi
36d53e5043 2 bugfixes
- ibw_stop handling
- ibw_send: < instead of <=

(This used to be ctdb commit 4774ef7e9e33f26745346b9bfe445d913f196e81)
2007-02-01 18:46:44 +01:00
Peter Somogyi
a9a03b6c00 merging tridge's code...
(This used to be ctdb commit 4f97ecf6efb9216a49cf1856fe27337c092f511c)
2007-01-31 12:24:55 +01:00
Peter Somogyi
116bdb2590 Added overload test scenario + fixed 1 send queue bug.
TODO: externize debug level

(This used to be ctdb commit 98442ce3e2b3f09ca6736abfa0a8314cbdafaac7)
2007-01-30 18:47:26 +01:00
Andrew Tridgell
c16b530257 merge status code changes from samba4 ctdb
(This used to be ctdb commit 705a9f8e5238976aa5c8cd4a5371459650d8b553)
2007-01-29 22:30:06 +11:00
Andrew Tridgell
d331277659 fix a bug in new structure handling
(This used to be ctdb commit 5f248d82717c8094f260ea16292996bb712df947)
2007-01-29 22:11:16 +11:00
Peter Somogyi
952a1ba44d Adjusted debug level and test scenario.
(This used to be ctdb commit 7d87132195e603f936368da5dd4cb6754c45b721)
2007-01-26 16:45:51 +01:00
Peter Somogyi
d47db1daaa Adjusted ib test tool #1.
Now fixed number of pingpong messages can be sent and then exit.

(This used to be ctdb commit 993188cf4df055a65cb49e91a368e9de1d68b6cf)
2007-01-25 18:57:47 +01:00
Peter Somogyi
4b8fe2af0a Fixed a side effect of previous revert.
(This used to be ctdb commit 08d013df5c6389c471036b20758463a844d33027)
2007-01-25 14:22:03 +01:00
Peter Somogyi
c11b2f642b Merged tridge's branch.
Reverted ib join (will do later).

(This used to be ctdb commit a2e0277057407462b71ed3d6f79cea2f8c494f49)
2007-01-25 12:31:33 +01:00
Peter Somogyi
7c3982eb3b 1st "working" ib version.
TODO: stress test, variable size messages, flood

(This used to be ctdb commit 5f2a834fdcebe349aad095010ae01cce788b6482)
2007-01-25 11:01:59 +01:00
Andrew Tridgell
0dd4a16d26 simplified ctdb_call() interface, and made it easier to expand with more parameters later
(This used to be ctdb commit 6c816fe85e84faad167101bcf26850966c3044e5)
2007-01-25 16:13:17 +11:00
Andrew Tridgell
a8d382ffef use ctdb_call_info, so struct ctdb_call can be used for top level call
(This used to be ctdb commit 05565ce504b75671566661199f5203a9ace31583)
2007-01-25 15:19:16 +11:00
Andrew Tridgell
e90f9aa084 merge db wrap code from samba4
(This used to be ctdb commit 2f3c299c76ce463cd866dfb1900ff45928f32ba6)
2007-01-25 15:11:36 +11:00
Andrew Tridgell
e1797cf6be added copies of libs so can be built standalone
(This used to be ctdb commit 0bf6e6cb371bb946ea8cc1d8c7a23a41ea715832)
2007-01-25 15:10:40 +11:00
Andrew Tridgell
16d2ca6fa0 merge fixes from samba4
(This used to be ctdb commit fb90a5424348d0b6ed9a1b8da4ceadcc4d1a1cb1)
2007-01-23 11:38:45 +11:00
Peter Somogyi
9c114a3fc5 ibw: modified tridge's code - in my point of view
ibw_alloc_send and node-centric params are the basics of these important changes.
Also tried to avoid memcpy/memdup where it was possible.

(This used to be ctdb commit 9e8cb9b96c685288c04ee8b69a972f582cd3c904)
2007-01-05 18:13:35 +01:00
Peter Somogyi
00df320053 bugfix in ibw_send
Forgot to allow different message pointer than beginning of an allocated buf.

(This used to be ctdb commit de6f7ae87f17ab5c99f5cf369baa499cca96dee5)
2007-01-04 16:44:41 +01:00
Peter Somogyi
0397c81938 +1 ibw function +1 bugfix
Added ibw_cancel_send_buf to allow not sending the message after an ibw_alloc_send_buf.
Renamed "n" to "len" and changed its type.

(This used to be ctdb commit c8eb66296b99e528781ce05846aa86205830a1a0)
2007-01-03 17:37:47 +01:00
Peter Somogyi
11fb3ef3b5 Joining ctdb and ibwrapper (incomplete).
It compiles.

TODO: modify ctdb as well.

(This used to be ctdb commit a080b85a5d8e46946f8308bb6c76aa62b5a254db)
2007-01-02 18:16:39 +01:00