| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
metze
(This used to be ctdb commit 33ec6943fb2d01b6df0ce4515d37c671b18d237f)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
metze
(This used to be ctdb commit 9b4c76973a8cf03ddc1a9b3777a350f739c00892)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
metze
(This used to be ctdb commit a90f3dd25a22f9b8777ff6946ce1721859e9479a)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
metze
(This used to be ctdb commit bf48ae41ef5fb8e4675be448d13db522465d8d72)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
metze
(This used to be ctdb commit 8e6b8be51fd1bda789675650a94df0115ee9e238)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
metze
(This used to be ctdb commit c09acd0896089a612ee3a1e78711abd98bd9cc99)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
metze
(This used to be ctdb commit 3cdb8be02acc23074c8137a54faea62fee4567a0)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
metze
(This used to be ctdb commit fce390194dadb4961b46c706a1826442eef8c63d)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
metze
(This used to be ctdb commit fc5f556d488488040303438aefecb5ae2a8e54bc)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
checks
metze
(This used to be ctdb commit 52e6d81f4d8a4035272d9256d01bafb8ed593027)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
metze
(This used to be ctdb commit 504cf78d00d1120b556124340b9312f890b8b8b9)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
metze
(This used to be ctdb commit 45cfcd44093c7d2681e2ffd5cfb402823e8809f4)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
metze
(This used to be ctdb commit ecf799093c1989f5499c9d61ce8cc8a98d759160)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
metze
(This used to be ctdb commit c63a0368d9d4b526ac1e49d891d3a1b7b8d20320)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
metze
(This used to be ctdb commit 1cdc8dbb9cb971cf6dd6cd22b1adaf70ddc77e65)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
nodes
metze
(This used to be ctdb commit d1b10b0c0c323c39742a18e98a1dab7e82ddc7be)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
metze
(This used to be ctdb commit 910c19f12448d293a755d1eb46d20f9591f8da7a)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
metze
(This used to be ctdb commit c34535ff4dc6a44909283641596e0ed7c2316fbd)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
metze
(This used to be ctdb commit 5abe44d0113839d3a45c9a31d30856aa70c2ea1f)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
metze
(This used to be ctdb commit 7332d900538f0cbcd953a723417a0fe31dc9807c)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Depending on --max-persistent-check-errors we allow ctdb
to start with unhealthy persistent databases.
The default is 0 which means to reject a startup with
unhealthy dbs.
The health of the persistent databases is checked after each
recovery. Node monitoring and the "startup" is deferred
until all persistent databases are healthy.
Databases can become healthy automaticly by a completely
HEALTHY node joining the cluster. Or by an administrator
with "ctdb backupdb/restoredb" or "ctdb wipedb".
metze
(This used to be ctdb commit 15f133d5150ed1badb4fef7d644f10cd08a25cb5)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
ctdb_control_transaction_commit()
metze
(This used to be ctdb commit d874463235fa299e83fe562291c688aca3b85cf3)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
metze
(This used to be ctdb commit 49d2dca9ad837e1b397294fb0e966bf0b77f751c)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This node internal tdb will store the HEALTH state of persistent
tdbs.
metze
(This used to be ctdb commit cbda4666be88c11a810a192a70667b57f773ace1)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
metze
(This used to be ctdb commit 21677ed6fb8c589f348321533c608cad58c4ec93)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
metze
(This used to be ctdb commit 1db17f312558fe59983a3465680e56c9f0c19e36)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
metze
(This used to be ctdb commit 92e05282d6c4f16e55d914cc3bde3738ea2d44ad)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
metze
(This used to be ctdb commit f30f33685db50860b6cd6fd1b6bdc3066620a78f)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
metze
(This used to be ctdb commit 656a6ec5ed81ccfbb86144156a3158e48f105ee4)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
metze
(This used to be ctdb commit 6529a1328b9ec304ad306674651b2a67e4426e23)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
All other scripts do 'loadconfig ctdb' before any other 'loadconfig foo'
call. I think we should do the same in statd-callout.
Otherwise it's very confusing, if you have configured some Options
in /etc/sysconfig/ctdb, but /etc/ctdb/statd-callout doesn't notice
them.
metze
(This used to be ctdb commit 10d95581fb90bfdf58ec32345c4e36c27acf4f37)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be ctdb commit 1635e931b909c66eb3b1f5357e3a549b1a0da70d)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
(cherry picked from commit 4334092cbae28181ba0d1cf2ac026961f2192972)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be ctdb commit 093f57a2c00f2d629a3b58e58202f1a7e1bbd406)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from samba commit 9776cb03450d21da5d454e683bdba29793ba3f67)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be ctdb commit d1873bd81bfc9f486b88f3a38c65c7de8f5a0909)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
metze
(cherry picked from samba commit 5ca0a4bfd6fdbb515835682a12f715283b46cb3e)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be ctdb commit 04aeac728f56c65b973762f09977de1b1b99099e)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We need to keep TDB_ALLOW_NESTING as default behavior,
so that existing code continues to work.
However we may change the default together with a major version
number change in future.
metze
(cherry picked from samba commit 3b9f19ed919fef2e88b2f92ae541e07bc7379cd1)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be ctdb commit c1c0ede32dc00ed619d1cf5fda40a9de43995f3a)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
metze
(cherry picked from samba commit 85449b7bcc4bd7948bea38b5514a02357950a002)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be ctdb commit 855391c1e37012b0d6c673a304bb8da8a1efcd72)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
be88a126ea50ea7e41583f402013c63234305e48)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be ctdb commit 6126f04bd4982b66564dcccd92a15baf9cb856f3)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
While studying tdb, I've noticed a couple of mismatches between readme
and actual code:
- tdb_open_ex changed it's log_fn argument to log_ctx
- there is now no tdb_update(), which it seems was transformed into
non-exported tdb_update_hash()
There were other mismatches, but I don't remember them now, sorry.
Signed-off-by: Kirill Smelkov <kirr@mns.spb.ru>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(cherry picked from samba commit 83de5c826313aa09c76131ae70550bd81b3521c5)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be ctdb commit 7a88f1df9190674deaf5dcbedad02ae4120a5263)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The reason I do it is that when using older python-tdb as shipped in
Debian Lenny, python interpreter crashes on this test:
(gdb) bt
#0 0xb7f8c424 in __kernel_vsyscall ()
#1 0xb7df5640 in raise () from /lib/i686/cmov/libc.so.6
#2 0xb7df7018 in abort () from /lib/i686/cmov/libc.so.6
#3 0xb7e3234d in __libc_message () from /lib/i686/cmov/libc.so.6
#4 0xb7e38624 in malloc_printerr () from /lib/i686/cmov/libc.so.6
#5 0xb7e3a826 in free () from /lib/i686/cmov/libc.so.6
#6 0xb7b39c84 in tdb_close () from /usr/lib/libtdb.so.1
#7 0xb7b43e14 in ?? () from /var/lib/python-support/python2.5/_tdb.so
#8 0x0a038d08 in ?? ()
#9 0x00000000 in ?? ()
master's pytdb does not (we have a check for self->closed in obj_close()),
but still...
Signed-off-by: Kirill Smelkov <kirr@mns.spb.ru>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(cherry picked from samba commit 71a21393dd1bb61bded82b1581ac6d5bd3b0153c)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be ctdb commit 03372b4ea8ba2938468a5c0fc234d604966ce070)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
So that erroneous double tdb_close() calls do not try to close() same
fd again. This is like SAFE_FREE() but for fd.
Signed-off-by: Kirill Smelkov <kirr@mns.spb.ru>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(cherry picked from samba commit b4424f8234a78a79fb2d71d46ca208b4f12e0f9e)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be ctdb commit f5c992bdaeb73ef726ff4728a9922721474cd6f5)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It's Tdb.get(), not Tdb.fetch().
Signed-off-by: Kirill Smelkov <kirr@mns.spb.ru>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(cherry picked from samba commit cfed5f946de0992a594c189ee3c19cf98e59d380)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be ctdb commit 76aacdd8e1106f26565e25903091a757b59cd7e2)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This can help with ldb where we rewrite the index records
(cherry picked from samba commit d4c0e8fdf063f88032c32de7ece60d502b322089)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be ctdb commit 470750fa2e3cf987f10de48451b1ee13aab03907)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
metze
(cherry picked from samba commit 3b62e250c066f44d0ab08a7db037b6b4f74a914b)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be ctdb commit 03b3682e3fa53c9f5fdf2c4beac8b5d030fd2630)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Also, set logging function so we get more informative messages.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(cherry picked from samba commit 094493115971cf3d5a3138ff10ebe02335824723)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be ctdb commit 6ac7ef8bf4d384f880c7f483ace70f8e08c15a8b)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
ctdb wants a quick way to detect corrupt tdbs; particularly, tdbs with
loops in their hash chains. tdb_check() provides this.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(cherry picked from samba commit 022b4d4aa6861c1e3e6d76484d92555221cb6d14)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be ctdb commit df1a3ce0380fa9d8722b2f9b16f65557095e4c83)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We no longer use swig for pytdb, so there is no need for swig make
rules. Also pytdb.c header should be updated.
Signed-off-by: Kirill Smelkov <kirr@mns.spb.ru>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(cherry picked from samba commit ecbe5ebd8d1c44a478c613eb1cace0521142d0d3)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be ctdb commit 27611d6a0c313732e438cb24c82b9de126e50156)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be ctdb commit 1d5c5a221c28f1dc652a80ed516a0f18ba588d9f)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
(cherry picked from samba commit 2c2545d45af9c7479bf032fff1263e102926a495)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be ctdb commit c40d14b1b7ba7c9ae40c0306a2e552504e0f92a6)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This fixes the build on Tru64.
metze
(cherry picked from samba commit 3718cf294ad1f3e00178cb34b2c914c9aecf2016)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be ctdb commit 5652e403be099f35cdd29fda8ba4fe2c35de8035)
|