| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| | |
(This used to be ctdb commit 365346345c33d2f310bb23d0c6ab5c3ed5e6e938)
|
| |
| |
| |
| | |
(This used to be ctdb commit e5ce866dcc5037b5069e42bf1e168b646f007b01)
|
| |
| |
| |
| | |
(This used to be ctdb commit 4adb61f8270dbd15732bc458d49a66138dd240cc)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
this program is a client to the local ctdb daemon
every second it pulls all vnnmap and nodemaps from all nodes that are
available and checks if a recovery is required
a recovery is required if :
* all nodes do NOT have an identical vnnmap and generation
* all nodes do NOT have an identical nodemap
* there are active nodes that are NOT in the nodemap
* there are nodes in the nodemap that are NOT active
During recovery, the recovery tool will also make sure that all nodes
know about and have created all databases.
(This used to be ctdb commit 2f2650467bac7e8954de7c17cb34f46b0bdbcd26)
|
|/
|
|
|
|
| |
not, trigger a recovery
(This used to be ctdb commit 46b8a66ee70419c153acf45eeec88c1fc8f230ce)
|
|
|
|
|
|
|
|
|
|
|
|
| |
- allow controls to know which client invoked them
- added a client_id to clients, so they can be identified remotely
- added the ability to remove registered srvids
- in the list_keys code, register a temp srvid, then remove it afterwards
(This used to be ctdb commit 29603c51cc6d81362532cd8e50f75c8360c5f5ef)
|
|\
| |
| |
| | |
(This used to be ctdb commit cf23175526d8fde1ef145605fb545584384b6cec)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
dont explicitely free the vnnmap pointer in the getvnnmap control this
is freed by the mem_ctx instead
add code to the recoverd to detect when/if recovery is required
veiry that the number of active nodes, the nodemap and the vnn map is
consistent across the entire cluster and if not trigger a recovery
(which right now just prints "we need to do recovery" to the screen.
(This used to be ctdb commit 2b0a207a3748bdb3394dc9fd0d1c344ee1bb0bb5)
|
| |
| |
| |
| |
| |
| |
| | |
parameter is added.
change ctdb_get_connected_nodes in the same way
(This used to be ctdb commit d85f23bcf4c1230225abb2f4a053c70b68d469aa)
|
| |
| |
| |
| |
| |
| | |
seconds
(This used to be ctdb commit 03acb2f450578f6195ab2d0a598f6720e33e7cfb)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
change ctdb_control so it takes a timeval pointer as argument.
this is the timeout. if the node has not responded within hte timeout
ctdb_control will return an error instead of hanging.
if the timeval pointer is NULL then the call will block indefinitely if
there is no response.
this is used for now in the createdb control but all the helpers
ctdb_ctrl_* should probably be updated to take a timeout parameter as
well.
(This used to be ctdb commit 1fe64b04869b17dbf123851b0fe09df8d28a6211)
|
| |\
| |/
|/|
| | |
(This used to be ctdb commit fb8ac93c7dfc11e774ef1ce05b0d0df1de56a621)
|
| |
| |
| |
| | |
(This used to be ctdb commit ecac90cee389a6fa0e9b1efba521e098a24d323f)
|
|/
|
|
| |
(This used to be ctdb commit 4dd5c26a21a5dc2b2f76eb23cfeb4df82ba4e956)
|
|\
| |
| |
| | |
(This used to be ctdb commit 57a80110ddfd202f8de37297db76dc43a064e476)
|
| |
| |
| |
| | |
(This used to be ctdb commit 3867ccf71a167fb82dbc5a3f03f968a325a0c70b)
|
| |
| |
| |
| | |
(This used to be ctdb commit 78a4d61cb78da20af5210488e685c91bc3023e90)
|
| |
| |
| |
| | |
(This used to be ctdb commit 4cf88ca2ce81db8fe10b0dfedb81d99a2bd93328)
|
|/
|
|
| |
(This used to be ctdb commit 4c23e6f26bde421bb56b55de9d6cd3e319b2be40)
|
|
|
|
|
|
|
|
| |
for the time being
remove all the [de]marshalling and just pass a structure around instead
(This used to be ctdb commit b1169555ab7015976c0135ff51121cc238f5887c)
|
|\
| |
| |
| | |
(This used to be ctdb commit daba707370b28e200d9e55eb81fc819b62f8fbdd)
|
| |\
| | |
| | |
| | | |
(This used to be ctdb commit 17b73a811009588f836c3f9fd1b775d9d504d30c)
|
| | |
| | |
| | |
| | |
| | |
| | | |
control
(This used to be ctdb commit f8d97f8b56f0af83a514ec0364eb915e2d5ea2d7)
|
| | |
| | |
| | |
| | |
| | |
| | | |
a record then performs a recovery which merges all records onto node 0
(This used to be ctdb commit 54a072deb40d8d4a4a9e35bfde0eec3c867211d0)
|
| | |
| | |
| | |
| | | |
(This used to be ctdb commit 0eb45623ca103e69765ed577ae02e7f8ca777e37)
|
| | |
| | |
| | |
| | |
| | |
| | | |
recovery mode
(This used to be ctdb commit bfd6d430f22e38cff1d64510dc447cfbe1dab35f)
|
| | |
| | |
| | |
| | |
| | |
| | | |
add a test script to start 4 daemons to test recovery
(This used to be ctdb commit 09eab12b00934afa5159fc500faf6b07effb2804)
|
| | |
| | |
| | |
| | | |
(This used to be ctdb commit 74e489c6737cc79537c7812ea82daafb1b363ec2)
|
| | |
| | |
| | |
| | |
| | |
| | | |
(so one has lots of tiume to play with ctdb_control)
(This used to be ctdb commit 8fbaf82a7b3f0e62c887e91731ad8c659122c785)
|
| | |
| | |
| | |
| | | |
(This used to be ctdb commit 70aa77a66bb5f16c93ecb122b92a6e63f6343ab1)
|
| |/
|/|
| |
| | |
(This used to be ctdb commit 30c8d69267a78e1d3dea0fcc936ee2939bb7a373)
|
| |
| |
| |
| | |
(This used to be ctdb commit 8c57a8355a94a7d714b9bec98533bc40a2bc4684)
|
| |
| |
| |
| | |
(This used to be ctdb commit 440077ffabb4ce831004b36ac26bd2f8f9b41499)
|
| |
| |
| |
| | |
(This used to be ctdb commit 8c568ada9b46132ebfa452def4f8ba3f11240532)
|
|\|
| |
| |
| | |
(This used to be ctdb commit 77255f93d432829387dc328b0ae726cc9cba8d68)
|
| |
| |
| |
| |
| |
| | |
node is connected or not
(This used to be ctdb commit 65c5fe53937a17e1fa6de5739cbd01b982dc49bb)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
signature (flags field)
update some calls to ctdb_get_config() to use the new name
ctdb_ctrl_get_config()
change #include "talloc/talloc.h" to #include "lib/talloc/talloc.h" in
lib/events/events.h
(This used to be ctdb commit d2cdd87037b9f0c387228d7d4743da4869929c93)
|
| |\
| |/
|/|
| | |
(This used to be ctdb commit 0f7c6c580ef0de60af68fd22bce36c0c0b2515b0)
|
| |
| |
| |
| | |
(This used to be ctdb commit 15d8308e5a0ce04351d70ac3dd25c7698931ebba)
|
| |
| |
| |
| |
| |
| | |
into ctdb bzr tree
(This used to be ctdb commit eaea8a9fa8d2f5e08f3af619fa1008a663f39053)
|
| |
| |
| |
| | |
(This used to be ctdb commit 46cd984500cd77d295f059132b4892dbfbc2bcd3)
|
| |
| |
| |
| | |
(This used to be ctdb commit 36d838801a2a2008c50322cdbfff65a308b1cd1a)
|
| |
| |
| |
| |
| |
| | |
cluster in turn
(This used to be ctdb commit 2fab9f96df2e5b5c51c860fd65caf0e926a63e34)
|
| |
| |
| |
| | |
(This used to be ctdb commit 172ee33306be2ef5ce17a5b9d7fbcc1f265a1b0b)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
attach to databases after the protocol has started. The daemon
broadcasts information on new databases to the other daemons.
This also eliminates the need for the client to know about the hash
between db name and db_id.
(This used to be ctdb commit 3bad91a9d987d4c09fe3322eac23c2733660ad08)
|
| |
| |
| |
| | |
(This used to be ctdb commit a2a3b254b22dbaafc8c4934d99cc67d6ae4adbd1)
|
| |
| |
| |
| |
| |
| | |
testing of ctdbd
(This used to be ctdb commit 05789da5818f8b20f04779b0df5125914d9047f6)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
for 2 days.
The main bug was in smbd, but there was a secondary (and more subtle)
bug in ctdb that the bug in smbd exposed. When we get send a dmaster
reply, we have to correctly update the dmaster in the recipient even
if the original requst has timed out, otherwise ctdbd can get into a
loop fighting over who will handle a key.
This patch also cleans up the packet allocation, and makes ctdbd
become a real daemon.
(This used to be ctdb commit 59405e59ef522b97d8e20e4b14310a217141ac7c)
|
| |
| |
| |
| |
| |
| | |
control
(This used to be ctdb commit c67f8a1783ce6f5af9940d2e22847ddcd939763d)
|
| |
| |
| |
| |
| |
| |
| | |
we should only write the pushed record if RSN of the new one if higher
than the rsn of the existing one not the other way around
(This used to be ctdb commit f535008c3755cf84acff7bc73ea05c0901e940ef)
|